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.6.tar.gz (3.8 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.6-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: url2epub-1.0.6.tar.gz
  • Upload date:
  • Size: 3.8 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.6.tar.gz
Algorithm Hash digest
SHA256 5597f944600f48d3f311f6b3a5d1d3d0bd9b4164e4fb3e0643f0be91f23a86cc
MD5 c88877f61b0fa67ea8270f409a505867
BLAKE2b-256 9421964cc243096aa14d45e56ea73e5daf8d67c8bfe54f8ff1a7bc78229478e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: url2epub-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 31516a4fb6db3fbd519889a4f046e4a6b4476b78f69422b776e083e7525d13b6
MD5 e70e422bd65be5bf4890925e3883a4bc
BLAKE2b-256 f38f41bc1ce73659c61d28800bf5f1985b2beaca3fec7c5dfe4e2b35279c1d30

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