Skip to content

Add Limited CiweimaoParser#2806

Merged
dteviot merged 1 commit into
dteviot:ExperimentalTabModefrom
Yomafil:Add-Limited-CiweimaoParser
Jul 13, 2026
Merged

Add Limited CiweimaoParser#2806
dteviot merged 1 commit into
dteviot:ExperimentalTabModefrom
Yomafil:Add-Limited-CiweimaoParser

Conversation

@Yomafil

@Yomafil Yomafil commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

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:

This Parser needs postprocessing outside the WebToEpub extension to be readable.

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

@dteviot dteviot merged commit a7469fe into dteviot:ExperimentalTabMode Jul 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants