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.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for pearson_pdf-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a722e42a9351ef39d2a2cfe786ecc81247276c7df38038c9f8f3f93b93621a1 |
|
MD5 | cb702d06dd912a411f5c9368a5e536f6 |
|
BLAKE2b-256 | 5cb82cffcd4d04651bbb46f097d2ce3c54321e2b6e0330faa7f2b70b833647fd |