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/epub3formats. - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file url2epub-1.1.0.tar.gz.
File metadata
- Download URL: url2epub-1.1.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d34431db4d344e5f0129ea55d018adcad441ce7e281a250a4ff8c0c82c49008f
|
|
| MD5 |
2ad69c0f2a7de8b87a050679d5f0a711
|
|
| BLAKE2b-256 |
41d6a095a339a942f0ac411ff1b954318e7c3e3f495e5e1d42842e373fe2a950
|
File details
Details for the file url2epub-1.1.0-py3-none-any.whl.
File metadata
- Download URL: url2epub-1.1.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efda52f5dda556233404766f2049801653401779b299ad3ba8dc3b1a9e612927
|
|
| MD5 |
0b1af2ddd971fd8d7ce82cae05d856d2
|
|
| BLAKE2b-256 |
4a8da03447e3fc0cd5e9de20e9f6543df7d11f113532130d35446f3ee93ce99c
|