Giter Site home page Giter Site logo

marc-ko / chegg-scraper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from threegiantnoobs/chegg-scraper

0.0 0.0 0.0 105 KB

Download Chegg homework-help questions to self-sufficient HTML files

License: The Unlicense

Python 36.27% HTML 63.73%

chegg-scraper's Introduction

NOTE

The Original Developers are no longer in a position to maintain this project. But we would still like to keep the project alive, thus any open source contribution from the community is more than welcome.


Chegg-Scrapper

Download Chegg homework-help questions to html files, these html files are self sufficient, you don't need account access to load them

Details
  • All files are saved to html document.
  • You will not need your chegg account to open these files later.
  • USE-CASES

    • In Bots You can share your chegg subscription with your friends, eg: by making discord bot
    • Saving Chegg Questions Locally

    Setup:

    • Download latest release

    • Install requirements pip install -r requirements.txt

    • Save your cookie in file cookie.txt (preferably)

      Using Browser Console
      • Log-in to chegg in your browser and open up the developer console. (cmd-shift-c or ctrl-shift-i)
      • Grab your cookies by typing
      • document.cookie
      • paste yout cookie from console into cookie.txt (without ")

      โ€‹ Or

      Using Chrome Extenstion
      • Log-in to chegg in your web browser
      • Click Export and paste in cookie.txt
    • You may also need to change user-agent

      • Open conf.json and edit user_agent

        • Find your browser user agent

    Usage:

    • If you are new to python go here

    • Run the Downloader.py Script

      $ python Downloader.py
      
      Enter url of the homework-help:
    • Arguments

      ALL ARGUMENTS ARE OPTIONAL
      -u or --url      >   URL of Chegg
      -c or --cookie   >   Path of Cookie file (Defualt: cookie.txt)
      -s or --save     >   file path, where you want to save, put inside " "
      

    chegg-scraper's People

    Contributors

    k4anubhav avatar ravi-akagra avatar prathakgarg avatar 04anubhavv avatar jason-s-wu avatar deepsourcebot avatar harsh22222 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.