Skip to main content

A CLI program to convert an URL to an epub using Readability & Pandoc.

Project description

url2epub

A CLI program to convert an URL to an epub using Readability & Pandoc.

Uses:

  • Readability : Removes all the menu/footers/header you don't want to read anyway.
  • Pandoc : Converts to epub/epub3 formats.
  • Request : Retrieve webpage.

installation

Needs the following python packages:

readability-lxml
pandoc
requests

recommended installation is via pipx

pipx install url2epub

usage

Download a page (filename auto-determined from title page)

url2epub.py myverygoodwebsite.com/article

Download a page to a specific filename

url2epub.py myverygoodwebsite.com/article --outfile my_file.epub

Save to epub3 format

url2epub.py myverygoodwebsite.com/article --epub3

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

url2epub-1.1.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

url2epub-1.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file url2epub-1.1.1.tar.gz.

File metadata

  • Download URL: url2epub-1.1.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for url2epub-1.1.1.tar.gz
Algorithm Hash digest
SHA256 642a62c719588d5a12d3ee85af4f353aff919d5cce8e5561b59f9d020aa344ad
MD5 064dfde15e02572c25eb0a8373df577f
BLAKE2b-256 101a783a99a561e04aab47142fb159a272b97782afc2a0113b9bae93f9d77b5d

See more details on using hashes here.

File details

Details for the file url2epub-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: url2epub-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for url2epub-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb611cce1568fc7f215e8a3f88b0f3c9a2f800e043b95105328d071f66e0a640
MD5 2c8a98f5939e2493c47c26dce6745aa2
BLAKE2b-256 36a9b7fdf970ec56f8296b758154e8df51f0426ef47f7734b9919a7594bb41a9

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