Convert stories and comments from reddit into epubs
It doesn’t require Pandoc any longer and is a pure Python program now. ebooklib currently has a bug, so I’m shipping out a patched version until it gets fixed
Requirements: PyYaml. pyprind, praw, mistune:
Usage: reddit2ebook configfile output-directory
The configfile should be in the following format:
AssortedWorks:
author: /u/GallowB00b
title: Assorted Works
cover: Gallow.jpg
lang: en
links:
- url
- url
- url
MissingKeys:
author: /u/airz24
title: The Missing Keys
cover: keyboard.jpg
lang: en
links:
- url
- url
- url
author, title, cover and lang are all optional
The older format is also supported:
bookname:
- url
- url
- url
You can use regular links for the submissions and permalinks for comments. If the link has a trailing slash its a submission, if not a comment. This is the default behaviour when copy-pasting the links from the browser, but sometimes people link to the comment section instead of the submission, simply adding a trailing slash will give you the submission text then
Release files for reddit2ebook 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| reddit2ebook-2.0.0.tar.gz | 24.0 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reddit2ebook-2.0.0-py3.5.egg | Legacy Egg format | - | - | Details |
| reddit2ebook-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 184.6 kB
Release files / reddit2ebook-2.0.0.tar.gz
| Download URL | reddit2ebook-2.0.0.tar.gz |
|---|---|
| Size | 24.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fff4bf972b89c0b26d359ae0d09a4d56de08532a0e23e31c9bbc1bf98d92b127
|
|
BLAKE2b-256 checksum How to use checksums |
5ff7f9f76ec3ed2e1915d11519e8de15e23cd026c405b7dcf0a85fcc669b7a26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / reddit2ebook-2.0.0-py3.5.egg
| Download URL | reddit2ebook-2.0.0-py3.5.egg |
|---|---|
| Size | 107.7 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
998714af8498bb81593b88cb9454a632349936d26d7455dae31a0cb5250d273f
|
|
BLAKE2b-256 checksum How to use checksums |
3c13dc042e343caf080d6e72af7966f168d2c31377d35c20834d569d8ea51422
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / reddit2ebook-2.0.0-py3-none-any.whl
| Download URL | reddit2ebook-2.0.0-py3-none-any.whl |
|---|---|
| Size | 52.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a20528705786a3bff641a32b39555da65b9e8263596b608d5c29de35458b34b6
|
|
BLAKE2b-256 checksum How to use checksums |
b380700efe5fb474d4fa95333847b47f61a52b38302cd12b7bf6ced258054b75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |