This project is a Ruby script to search for books on LibGen, filter by EPUB or PDF format, and download them for personal use.
- Search for a book by title
- Automatically select and download the first result (or let you choose a book manually by uncommenting specific lines).
- Filters search results to include only EPUB or PDF formats
- Downloads books to the
books_downloadedfolder - TODO: Send book to E-Reader (kindle)
- Clone this repository:
git clone <repository_url>
cd the_real_e_reader- Install dependencies:
bundle install- Create an
.envfile:
cp .env.copy .envRun the script with:
ruby the_real_e_reader_script.rbTest the script:
rspec