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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dl_wp_pdf-0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 3f9c33f5bc3c12077dfb07949c24dd658cd7442ba2f61a2d6ec760020df3615f
MD5 2bd19a51e934179c5baa21f989a97342
BLAKE2b-256 8ebb34ddae5d31c84d8531f11018cc73b44dc2a9a4cc1d03e4241f967f127f8c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dl_wp_pdf-0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 0ced99c3d4f27b4641d4b084439d4069c83ab72074195c5258674af2d01a3f91
MD5 1be05cd86d45e614a25c6a8090519df5
BLAKE2b-256 332814a8fd56366d52cb23a42df7ad18c385cf1ae9d7da58f129eae175724a63

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