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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dl_wp_pdf-0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 b181f0b9d498679ffb5124cf3133af3a74739243150f36d11074c2e9a150e432
MD5 dd42b5940181fb8f1fa8952443b4c3e4
BLAKE2b-256 2dd4c60d1812e1fc668aa55dc1bbc1b3caaf163b98f958745749f39197ea1f5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dl_wp_pdf-0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 59fc7b3b9e91c285228b21f5ec3cbb535bf540a5dae5833c375174980a3b5de8
MD5 110ffa8e200c20ec86f72eb766638699
BLAKE2b-256 7fc79b7c0b4e9fbfa9e8424bde55ff1020443b44e54001e4a498639b0cdb351c

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