Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sgeisler/fishbones2epub

fetches the fishbones novel and outputs an epub
https://github.com/sgeisler/fishbones2epub

crawler ebook epub python-3-6

Last synced: 15 days ago
JSON representation

fetches the fishbones novel and outputs an epub

Awesome Lists containing this project

README

        

# Fishbones II ebook exporter

`fishbones2.py` fetches all available chapters of the [Fischbones novel Book II](http://www.fishbonescomic.com/novel/about/) from Jisuk Cho's blog and builds an ebook (epub)
out of these chapters. You might add a custom cover image.

```
$ ./fishbones2.py -h
usage: fishbones2.py [-h] [--cover cover-image] file

Fetch all chapters from Fishbones II and produce an epub file

positional arguments:
file output file

optional arguments:
-h, --help show this help message and exit
--cover cover-image cover image to use for the ebook
```

## Requirements

To install the dependencies just use `pip`:
```
$ pip install -r requirements.txt
```
To properly install `lxml` you need to have `libxml2-dev libxslt1-dev python-dev` installed.

## Example usage:

```
$ ls
cover.jpg fishbones2.py README.md requirements.txt
$ ./fishbones2.py fishbones2.epub --cover cover.jpg
fetching index ...
found 23 chapters
fetching Chapter 01 ... (1 of 23)
Chapter 01 has 101 paragraphs
fetching Chapter 02 ... (2 of 23)
Chapter 02 has 175 paragraphs
fetching Chapter 03 ... (3 of 23)
Chapter 03 has 113 paragraphs
fetching Chapter 04 ... (4 of 23)
...
```