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
# with a url
pearson_pdf https://example.com/generated/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/foxit-assets
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.3.0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for pearson_pdf-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c440109e9c0641ff281ee812a458b216ccac1297e67ee3363507d89a7c34fd26 |
|
MD5 | e8c83fd36b505bf7c5e252f8ab8ae653 |
|
BLAKE2b-256 | 69f5b168ac91b44530d5de3ae948d6dfa7215d3b3eedf67a573d46986a93de4b |