Add Limited CiweimaoParser#2806
Merged
dteviot merged 1 commit intoJul 13, 2026
Merged
Conversation
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.
Made a limited implementation of the CiweimaoParser, for https://ciweimao.com.
Only implemented free chapter, as I wasn't sure if implementing the decryption for the key to access the image of unlocked chapters was permitted. And I don't have a way to test if my implementation of it would work.
All logic is heavily inspired from the parser kuwoyuki previously made in #2225
The content received is encrypted, but we package everything necessary to decrypt a free chapter directly in the epub, alongside a disclaimer in each chapter, detailing how to decrypt it manually using the https://github.com/dteviot/EpubEditor/ browser tool.
Haven't looked too deep into how to implement a button in EpubEditor to make it automatic, and not have to grab the script and input it manually in the tool, which could be tricky for non-tech savvy users.
Maybe implementing a way to give a warning in the popup for Parser like this would be a good idea, something like:
Tested on multiple book:
https://www.ciweimao.com/book/100495225,
https://www.ciweimao.com/book/100493716,
https://www.ciweimao.com/book/100492526,
https://www.ciweimao.com/book/100489276,
https://www.ciweimao.com/book/100448422
All working and readable after using EpubEditor with https://github.com/Yomafil/EpubEditor-Companion-Scripts/blob/main/Ciweimao-EpubEditor-Companion-Script.js
Once again heavily inspired by a previous implementation from kuwoyuki
#2202