ebook-downloader
Getting Started
- Open a terminal and run the following commands.
git clone github.com/georgemunyoro/ebook-downloader
cd ./ebook-downloader
python -m venv venv
- For Windows:
.\venv\Scripts\activate
, and for GNU/Linux or MacOS:source ./venv/bin/activate
pip install -r requirements.txt
- Fill out necessary sections in the
.env
file, ensuring that the directory you set for the downloads to be placed in has sufficient storage capacity. - Ensure credential file for google API is present in working directory
- Run the script:
python ./main.py
Things to note:
- While using more than one thread is recommended and is much faster, it can result in less successful book downloads due to network concurrency issues. This is simply remedied by simply repeatedly running the script. Don't limit the program to only one thread unless you hate yourself and want to wait for eternity.
- This is not an AI based program, and so sometimes it will make silly mistakes and either download the wrong book, or fail to find the book even if it is available. But you can rest assured knowing that more often than not your books will be found.
- Books will be downloaded in whatever format they are found in, no conversion is done to reduce load on CPU and unsupervised conversion can lead to major quality loss and often times an unusable or illegible output. This is due to the different natures of different formats.
- While the option to use zlibrary is fully implemented and available, it is essentially redundant due to the website's 5 download limit per IP per 24 hours.