A McGrawHill (MGH) Textbook Scraper that is made in python.
- Python (Tested on 3.9, should work on anything recent)
- McGrawHill Cookies
Clone project
user@User-Machine~$ git clone https://github.com/Sendeky/MGHTextbookScraper
user@User-Machine~$ cd MGHTextbookScraper
Install requirements
user@User-Machine~$ pip install requirements.txt
- Navigate and open your textbook
- Open your browser's Web Inspector (Ctrl+Shift+I for Chrome and most browsers)
- Find a link that starts with "epub-factory-cdn.mheducation.com" (Ctrl+F to open find menu)
- Open the link
There are 3 cookies that are necessary for this to work
- Click on the Cookies Tab of the Web Inspector
- Get 3 Cookies:
*CloudFront-Policy
*CloudFront-Signature
*CloudFront-Key-Pair-Id
It's super simple! Just run the main file like this
user@User-Machine~$ python TextbookScraperProject.py
The retrieved text will be in the project folder in data.json