Download borrow-only books off archive.org.
- Install Python 3+ from here (make sure you click add python to PATH)
- Install Google Chrome from here
- Download BookDownloader.py and requirements.txt from the repo above
- Download the chrome webdriver here for the version of chrome you have installed on your device
- Install the required modules by running install_modules.cmd from the above repo above or directly from the command line with
pip install -r requirements.txt
There are two main ways to use this script:
- Automatic mode (useful batch jobs):
BookDownloader.py <ID> <username> <password> <output dir>
<ID> - The id of the book your are downloading (usually https://archive.org/details/<ID>)
<username> - Archive username
<password> - Archive password
<output dir> - Output directory to create the output dir in (leave blank to set the current dir as output)
- Manual mode (for quick downloads)
- To run in manual mode, run the script without any arguments. It will ask for the id , username, password and output directory.
- Binary release
- Headless mode (coming in R2)
- Webdriver selection (chrome/firefox)
- Lists/batch support
- GUI?
- Script may crash as it tries to return a book after downloading
Under MIT license