Code Monkey home page Code Monkey logo

web_to_epub's People

Contributors

izanaginookami10 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

web_to_epub's Issues

Enhancement

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.

Problem with some characters in 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.