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
Hashes for reddit2ebook-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a20528705786a3bff641a32b39555da65b9e8263596b608d5c29de35458b34b6 |
|
MD5 | c30060029448901458a0c39d51cf610d |
|
BLAKE2b-256 | b380700efe5fb474d4fa95333847b47f61a52b38302cd12b7bf6ced258054b75 |