Skip to content

SanjaySunil/kerboodle-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation



kerboodle-scraper

Scrape any kerboodle textbook and convert into a PDF

Report Bug · Request Feature



What's kerboodle-scraper?

kerboodle-scraper allows you to scrape any kerboodle textbook from kerboodle.com and combine each of its pages into one PDF file.

Install/Requirements

  1. Clone the repository
  2. Install project requirements
$ pip install Pillow
$ pip install wget

Usage

When running the program, you will be asked to obtain a kerboodle textbook ID. This ID can be obtained from the following steps.

  1. Login to your kerboodle account
  2. Open the textbook you would like to scrape
  3. Open Inspect Element (F12 or right click, then Inspect Element)
  4. Filter out HTML containing the string 'img' (CTRL-F)
  5. An image element should be located, and the src attribute contains the image file location.
  6. Copy the image src
  7. Format the image src where the book ID is the following

//assets-runtime-production-oxed-oup.avallain.net/ebooks/{book_id}/images/1.jpg

  1. Copy the book_id
  2. Run the program, and paste book_id
python main.py

License

Copyright © 2022 Sanjay Sunil ([email protected])

Distributed under the {license} License. See LICENSE for more information.

Releases

No releases published

Packages

No packages published

Languages