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.0.5.tar.gz (3.7 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.0.5-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for url2epub-1.0.5.tar.gz
Algorithm Hash digest
SHA256 7a61f22fb855d0863cf2982a84a15f8ec3c0a4932669a29ba8fcda1e17fc4920
MD5 579d89a831b698daad44d0ec7bcc5f4d
BLAKE2b-256 90ef1c019c1b20ff3e70f5647565cb2554b1b68c8e042ab36c4d8770a9e4049a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: url2epub-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c38b7b3efca2e06ed189a3903d18fe64e18715213f031eab10dbf06692f2c625
MD5 c54c31c2ccb7a19ac4ccc68d7c33ee4b
BLAKE2b-256 d00cb57af5fa4543fa1a9ac49fce3a4ea5931c8a5119a0297e0b283927f353cf

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