Skip to main content

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

dl_wp_pdf-0.9.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dl_wp_pdf-0.9-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

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

Hashes for dl_wp_pdf-0.9.tar.gz
Algorithm Hash digest
SHA256 b43176920b3949d4d2dfc4ba2b5d69bc53538ea62ccc87e668344b614503e12b
MD5 aa95c1b3a1fbe0013a2db98965f90cf6
BLAKE2b-256 61e385b45d368d6e8aa26941a1a23db4b249835f50e8c2596b1a1fc0d8cbbd9b

See more details on using hashes here.

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

Hashes for dl_wp_pdf-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4b1d6ab0fcb45642ce415ba1ae7842a63af4795fc31add40b17d7ef494ac7935
MD5 79c4c6ef69d49d70241f0c124d7fa267
BLAKE2b-256 9407763f7c220bb67fe29d6051f060ee74632ac257c22e1bec569cbe3f3ce356

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page