Giter VIP home page Giter VIP logo

cheggdownloader's Introduction

Chegg Downloader:

Have a Chegg account and you want to download the solutions of a book locally?

Fill in the required url details in the SiteDetails.properties file and run the CheggDownloadRunner.java

How to Run the program for your Book

To make it run for your book, you need to update the necessary details in the SiteDetails.properties. Modify the following:

  • bookName
  • username
  • password
  • downloadUrl

Problems/Modifications that might occur:

1.Chegg might modify the xpath values in their site. In this case you need to update the xpaths in SiteDetails.properties

2.You might have new version of Firefox and Webdriver version might be out of date. In that case please update selenium-java version in pom.xml

3.Also if you run this program for a while, Chegg might block u as part of spam detection and might think your account is Compromised. In this case you need to reset your username and password and run the program again.

Note: It might not work if Chegg updates their html. If they update, you need to update the xpaths of the different elements in SiteDetails.properties Also the error conditions haven't been handled thoroughly. This program however will work as of Mar 27 2015.

Running in Intellij Idea

  • I have used intellij idea and tried it out.
  • It needs a selenium webdriver dependency.You can check pom.xml for its dependency list.
  • To download the dependencies, you need to use maven (you might need to install if u dont have maven already on your system)
  • Then its as simple as going into the root folder and running "mvn clean compile".
  • Then right click on "CheggDownloadRunner.java" and run it

cheggdownloader's People

Contributors

saianudeepm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.