izanaginookami10 / web_to_epub Goto Github PK
View Code? Open in Web Editor NEWJust a new-newbie personal project to read offline webnovels done with online tutorials.
Just a new-newbie personal project to read offline webnovels done with online tutorials.
Python module dependencies, and some example output would go a long way.
Awesome script!
Works flawlessly.
Just a little thing. If 'n' is selected to download the whole novel then maybe the resulting epub file's title should not contain chapter_s and chapter_e but only thr novel title.
I got this error:
Traceback (most recent call last):
File "D:\_\bin\Web-to-epub\epub_converter.py", line 199, in <module>
chapter_title = f.clean('raw-' + file_name + '.html', 'clean-'
File "D:\_\bin\Web-to-epub\functions.py", line 320, in clean
chapter, chapter_title = get_chapter_content(file_name_in, info,
File "D:\_\bin\Web-to-epub\functions.py", line 228, in get_chapter_content
with open(debug_folder + '\\' + chapter_title + '.html', 'w',
FileNotFoundError: [Errno 2] No such file or directory: '_debug About — Godot Engine (stable) documentation in English\\I/O — Godot Engine (stable) documentation in English.html'
I believe the issue to be related to the '/' in the title.
You're probably saving each page with the title, and the '/' isn't a valid filename character.
The link it's failing on is:
https://docs.godotengine.org/en/stable/tutorials/io/index.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.