Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sgeisler/fishbones2epub
- Owner: sgeisler
- Created: 2017-01-29T00:12:36.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-29T00:38:16.000Z (about 8 years ago)
- Last Synced: 2024-11-28T17:36:17.284Z (2 months 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] fileFetch all chapters from Fishbones II and produce an epub file
positional arguments:
file output fileoptional arguments:
-h, --help show this help message and exit
--cover cover-image cover image to use for the ebook
```
## RequirementsTo 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)
...
```