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_downloaded
folder - 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
.env
file:
cp .env.copy .env
Run the script with:
ruby the_real_e_reader_script.rb
Test the script:
rspec