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

Uploaded Python 3

File details

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

File metadata

  • Download URL: url2epub-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 8c6c4e3a1e240d86ba625c0c9452c433174a1b6945f1377770a840ea849fa514
MD5 960401f30d5738a07d7ce870ab69d644
BLAKE2b-256 cddc20cc2df0b7843fc2bce14998a8cd033ccbb6b739eaedb185d6eaa95250be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: url2epub-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9bda32c4d8b807d05b2ee4281636ed9e63ee71a646e5fbf86bf14fabe42f58bd
MD5 9c79f738711b50e9b0e1fcce6065ab97
BLAKE2b-256 9b38d5a4bd60e2dbe6f1233764cbc565abd5aa69cd44997ec98aa32d2a6d1ca5

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