This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Release History

Release History

This version
History Node

2.0.0

History Node

1.2.1

History Node

1.2.0

History Node

1.1.0

History Node

1.0.7

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
reddit2ebook-2.0.0-py3.5.egg (107.7 kB) Copy SHA256 Checksum SHA256 3.5 Egg May 13, 2016
reddit2ebook-2.0.0-py3-none-any.whl (52.9 kB) Copy SHA256 Checksum SHA256 py3 Wheel May 13, 2016
reddit2ebook-2.0.0.tar.gz (24.0 kB) Copy SHA256 Checksum SHA256 Source May 13, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting