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.4.tar.gz (3.6 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.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: url2epub-1.0.4.tar.gz
  • Upload date:
  • Size: 3.6 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.4.tar.gz
Algorithm Hash digest
SHA256 ade873243bf59dc29bde3b525c3b3c33e70033b7667a3519d874982fc0dc02ab
MD5 594691458b807d34dba34acb5766c380
BLAKE2b-256 48b48c2b7677008fdc624a597847c1dfded75ee0a7382583ca2441927de80bd9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: url2epub-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0d0d8b73f59c475d10deb7220746849c484d0e6165e5e5a84a5f9a12d68ce496
MD5 e71666b11a0fec1c841fef77f0c79a37
BLAKE2b-256 6c995718e25ec6a946dff2a312bc22e4c822ad9e4b95d359f32cd411086a9e2e

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