t0mekk / perlego-downloader

Download books from Perlego.com in PDF format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Perlego PDF Downloader

Download books from Perlego.com in PDF format.

Installation

Install Python 3 and run:

$ pip3 install -r requirements.txt

Configuration

Please watch the demonstration video.

You'll need to find the authToken, bookId and reCaptchaToken analyzing the browser/websocket traffic and replace the constants in downloader.py.

Run!

$ python3 downloader.py

Troubleshoot

Windows users may encounter the following error messages running the script:

The application has failed to start because its side-by-side configuration is incorrect

pyppeteer.errors.BrowserError: Browser closed unexpectedly

This issue can be solved reinstalling the chrome client with:

$ pyppeteer-install.exe

If the issue persists, please try to manually (re)install chrome on your computer or download the correct version of chromedriver and add it to the system path (ie. C:/Windows).

DISCLAIMER:

The code is not intended for piracy or unlawful re-sharing purposes. You can only download the books you have purchased for the sole purpose of personal use. I do not take responsibility for illegal use of the software.

About

Download books from Perlego.com in PDF format

License:MIT License


Languages

Language:Python 100.0%