A tool to download light novel on ln.hako.re as epub file format
Download
·
Screenshots
·
Script Usage
- Table of Contents
- About The Project
- Getting Started
- Screenshots
- Issues
- Contributing
- License
- Contact
- Acknowledgements
A tool to download light novels on ln.hako.re as the epub file format for offline reading.
Notes:
- This tool is a personal standalone project, it does not have any related to ln.hako.re administrators.
- If possible, please support the website, original light novel, and light novel translation authors.
- This tool is for non-commercial purpose only.
- Support images.
- Support navigation and table of contents.
- Download all/single volume of a light novel.
- Update all/single downloaded light novel.
- Update new volumes.
- Update new chapters.
- Update new chapters of a single volume.
- Working with docln.net.
For normal user, there is a single execution file here. Run and follow the instructions.
- python 3.6.8
- ebooklib
- bs4
- pillow
- argparse
pip install ebooklib bs4 pillow argparse
Notes: I only tested on python 3.6.8
usage: hako2epub.py [-h] [-v ln_url] [-u [ln_url]] [-uv ln_url] [ln_url]
positional arguments:
ln_url url to the ln homepage
optional arguments:
-h, --help show this help message and exit
-v ln_url, --volume ln_url
download single volume
-u [ln_url], --update [ln_url]
update all/single ln
-uv ln_url, --updatevol ln_url
update single volume
- Download a light novel
python hako2epub.py light_novel_url
- Download a single volume in a light novel
python hako2epub.py -v light_novel_url
- Update all light novels
python hako2epub.py -u
- Update a single light novel
python hako2epub.py -u light_novel_url
- Update a single volume in a light novel
python hako2epub.py -uv light_novel_url
- Light novel will be downloaded into the same folder as the program.
- Downloaded information will be saved into
ln_info.json
file located in the same folder as the program. - If you change anything (like move the epub files away), try to change the
ln_info.json
too. - Or try not to change anything ^^
- I only tested on some of my favorite light novels.
- Some images have a blank page before them (Caused by the center image code).
- Images may crash on some epub readers.
- Can not get image from some image hosts.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
- Author - @quantrancse