Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Makes Kindle books from a blog
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.idea
urlgrab @ c072262
.gitignore
.gitmodules
LICENSE
Makefile
README.md
ao3.py
blog.proto
bofh.py
books.py
common.py
ddm.py
fanfiction.py
literotica.py
series.txt

README.md

Book Blog

Setup

Run make to create the protocol buffers files

Usage

python books.py [options] (<series name list>)*

Options:

    -h, --help                  show this help message and exit
    -c COUNT, --count=COUNT     Number of items per book (default: 20)

The list of series are in series.txt, and primarily consist of a series of Regex's defining the title, content and next page link written in Protocol Buffers text format

Generator

Run "python fanfiction.py <a story URL from FanFiction.net>" to generate a new series entry for an arbitrary FanFiction.net story, which can them be copied into series.txt

Run "python ao3.py <a story URL from archiveofourown.org>" to generate a new series entry for an arbitrary Archive of Our Own story, which can them be copied into series.txt

Something went wrong with that request. Please try again.