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
Failed to load latest commit information.
.idea Add PyCharm settings
urlgrab @ c072262 Upgrade urlgrab
.gitignore Add BOFH-specific grabber
.gitmodules Initial version of book generator
LICENSE Add license and readme
Makefile Add Makefile for creation of blog_pb2.py
README.md Add ao3 generator, along with an example
ao3.py Add ao3 generator, along with an example
blog.proto Add description as separate field
bofh.py Add BOFH-specific grabber
books.py Remove anchor tags from content, as they break chapter detection
common.py Cope with books with >50 chapters
ddm.py Add specialist creation script for Dark Distorted Mirror
fanfiction.py Fanfiction: Author and Title formats were wrong for a new series
literotica.py Revised chapter pattern
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.