convert reddit stories and comments into ebooks
Project description
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
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
Built Distributions
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 reddit2ebook-2.0.0.tar.gz.
File metadata
- Download URL: reddit2ebook-2.0.0.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fff4bf972b89c0b26d359ae0d09a4d56de08532a0e23e31c9bbc1bf98d92b127
|
|
| MD5 |
b4c786ce8a237c53b5e910357606387f
|
|
| BLAKE2b-256 |
5ff7f9f76ec3ed2e1915d11519e8de15e23cd026c405b7dcf0a85fcc669b7a26
|
File details
Details for the file reddit2ebook-2.0.0-py3.5.egg.
File metadata
- Download URL: reddit2ebook-2.0.0-py3.5.egg
- Upload date:
- Size: 107.7 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
998714af8498bb81593b88cb9454a632349936d26d7455dae31a0cb5250d273f
|
|
| MD5 |
68caa69c5a99364543ae3bc690ef2fb4
|
|
| BLAKE2b-256 |
3c13dc042e343caf080d6e72af7966f168d2c31377d35c20834d569d8ea51422
|
File details
Details for the file reddit2ebook-2.0.0-py3-none-any.whl.
File metadata
- Download URL: reddit2ebook-2.0.0-py3-none-any.whl
- Upload date:
- Size: 52.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a20528705786a3bff641a32b39555da65b9e8263596b608d5c29de35458b34b6
|
|
| MD5 |
c30060029448901458a0c39d51cf610d
|
|
| BLAKE2b-256 |
b380700efe5fb474d4fa95333847b47f61a52b38302cd12b7bf6ced258054b75
|