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.10.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.10-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file dl_wp_pdf-0.10.tar.gz.

File metadata

  • Download URL: dl_wp_pdf-0.10.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.10.tar.gz
Algorithm Hash digest
SHA256 1fb949c8522b47cb0f6d4c451f540470291333405f9feca5d077422683124cce
MD5 b3f5deeabc0f8e276eef5013744ea1b0
BLAKE2b-256 5ebc3973a2c29391cffe53a11acbf49fc55677ee91dc6ee613e8f074bef94732

See more details on using hashes here.

File details

Details for the file dl_wp_pdf-0.10-py3-none-any.whl.

File metadata

  • Download URL: dl_wp_pdf-0.10-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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 8ca24f7c680f1972d3a145f76788fa905ee72196f1ad3c5a546e186913339872
MD5 845f2a9e4e2935eadd4e41cc0a400619
BLAKE2b-256 9e814e2ff0ec2ea2e1aa817d93d1cadd94843ee740cb8130f1a5c826e04cca3a

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