Tool to download Pearson books as PDFs.
Project description
pearson-pdf
Tool to download Pearson books as PDFs.
Installation
Install pearson-pdf
using pip.
pip install pearson-pdf
Usage
To download a PDF, you'll need to get the book's ID:
- Open up DevTools in your browser.
- Navigate to Console.
- Type in:
window.foxitAssetURL;
- Copy that URL. pearson-pdf will parse the ID from that URL.
Now you can download your PDF:
# with an id
pearson_pdf xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx output.pdf
# with a url
pearson_pdf -u https://example.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx output.pdf
More information on usage is in the help page:
pearson_pdf -h
License
See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pearson-pdf-1.0.5.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for pearson_pdf-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 356ea8049fefd9114e0ff45757e95baa110a654f5d6f3f86334168d75f1b7bd8 |
|
MD5 | cb1a2b6dfb865ba791731df4d35888f3 |
|
BLAKE2b-256 | a2a146aa15b82be027e0a9223ea5ba5f5115c9ac59cc23238030dcbdf62bc053 |