Download Wikipedia articles as PDF
Project description
dl-wp-pdf
This program just downloads a Wikipedia article as a PDF by using the Wikipedia REST API.
Installation
pipx install dl-wp-pdf
Usage
Use the Wikipedia article's name as the argument to dl-wp-pdf. For example, if the article's URL is https://en.wikipedia.org/wiki/Python_(programming_language), then the argument for dl-wp-pdf would be "Python_(programming_language)".
cd ~/downloads
dl-wp-pdf "Python_(programming_language)"
Output:
--> /home/jas/downloads/Python_(programming_language).pdf
Note: make sure to use quotes around the article name in the argument to
dl-wp-pdf.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dl_wp_pdf-0.9.tar.gz.
File metadata
- Download URL: dl_wp_pdf-0.9.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b43176920b3949d4d2dfc4ba2b5d69bc53538ea62ccc87e668344b614503e12b
|
|
| MD5 |
aa95c1b3a1fbe0013a2db98965f90cf6
|
|
| BLAKE2b-256 |
61e385b45d368d6e8aa26941a1a23db4b249835f50e8c2596b1a1fc0d8cbbd9b
|
File details
Details for the file dl_wp_pdf-0.9-py3-none-any.whl.
File metadata
- Download URL: dl_wp_pdf-0.9-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b1d6ab0fcb45642ce415ba1ae7842a63af4795fc31add40b17d7ef494ac7935
|
|
| MD5 |
79c4c6ef69d49d70241f0c124d7fa267
|
|
| BLAKE2b-256 |
9407763f7c220bb67fe29d6051f060ee74632ac257c22e1bec569cbe3f3ce356
|