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 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.1.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for pearson_pdf-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60f77a1b0924f629b63952b9331ee47e825becba79e9e4125cbca8b6dd0fbf65 |
|
MD5 | b565d576c30ea162dc8dd582f66b692c |
|
BLAKE2b-256 | 2f4d1581bc6fb8f96173ac5075682e198baa00c2c1b5c699d96ef09c8d061720 |