将epub中章节顺序按目录顺序排序 - #19
Open
FHYQ-Dong wants to merge 1 commit into
Open
Conversation
Owner
|
首先感谢你贡献代码,但是这个是纯js项目,如果能用js直接去修复相关问题,或许会更好。如果不熟悉js的话,可以在issue里说明一下那本书会出现章节错乱的情况。 图片丢失问题的确存在,有的图片即使带登录信息也下载不了,应该是书籍本身的问题,这种要么用一个占位符图片替代(现在的处理方式),要么完全不显示。我还是更倾向于现在的方式 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
可能由于浏览顺序原因,使用本浏览器扩展和网站解密端导出的 epub 文件目录顺序正确但内容顺序错乱,同时某些章节标题的背景图(html 标签为 bgimg-1 和 bleed-pic)缺失。
使用python简单写了一个脚本用来将 epub 内容以正确的顺序排序,同时移除缺失的 bgimg-1 和 bleed-pic。