Skip to content

pensnarik/litres-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Litres books downloader

Script allows you to download books that normally acessible only online or in Android/iOS LitRes application using Python and Selenium. It's assumed that the book has already been purchased and exists in your personal account.

Usage

The only script arguments are --url, --login and --password. Script won't work if your account requires third-party authorization like Google. --url is a book URL, should look like https://www.litres.ru/book/<author>/<name>-<id>/.

Here is the common usage scenario (virtualenv is recommended):

$ virtualenv .venv
$ pip3 install -r requirements.txt
$ ./litres-downloader.py --url https://www.litres.ru/book/dru-neyl/prakticheskoe-ispolzovanie-vim-10014985/ --login <login> --password <password>

The book will be saved into final_book.pdf file.

Requirements

The tool requires Selenium, img2pdf and Pillow libraries which are listed in requirements.txt.

About

Litres books downloader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages