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: over 1 year ago
JSON representation
fetches the fishbones novel and outputs an epub
- Host: GitHub
- URL: https://github.com/sgeisler/fishbones2epub
- Owner: sgeisler
- Created: 2017-01-29T00:12:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-29T00:38:16.000Z (over 9 years ago)
- Last Synced: 2025-01-27T08:24:05.635Z (over 1 year ago)
- Topics: crawler, ebook, epub, python-3-6
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
...
```