Skip to main content

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)

Source distribution for reddit2ebook 2.0.0
File Size Uploaded
reddit2ebook-2.0.0.tar.gz 24.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for reddit2ebook 2.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2.0.0 This release

3 release files

1.2.1

2 release files

1.2.0

1 release file

1.1.0

1 release file

1.0.7

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page