fix(MangaPlus): decode protobuf API and filter inaccessible chapters - #262
Open
aksdenn wants to merge 1 commit into
Open
fix(MangaPlus): decode protobuf API and filter inaccessible chapters#262aksdenn wants to merge 1 commit into
aksdenn wants to merge 1 commit into
Conversation
Migrate MangaPlus request parsing to protobuf and update current API usage. Some chapters now return backend-denied viewer payloads (Deluxe/restricted), so the source now filters inaccessible chapters before display and surfaces clean errors instead of returning empty pages. * Decode responses with protobuf and align endpoint/query usage * Normalize language settings values and improve title language labeling * Map chapter language codes from title language * Filter inaccessible chapters via viewer accessibility checks with cache * Bound accessibility checks with limited concurrency * Harden reader page URL handling and vwToken image header flow * Add MangaPlus regression test for inaccessible chapter filtering * Bump MangaPlus version to 1.0.0-alpha.12 Assisted-by: Codex:gpt-5
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.
Summary
Updated MangaPlus to use protobuf decoding and current API behavior, then hardened chapter loading for inaccessible Deluxe/restricted chapters to prevent crashes. The source now filters inaccessible chapters before display, improves language handling and labeling, and keeps reader/image request behavior stable with safer page/header handling. Also bumped the MangaPlus version and validated conformance plus scoped MangaPlus tests.
Checklist
Making changes
For updates to existing extensions
versionvalue inpbconfig.tsfor each modified extension.For new extensions
npx paperback-cli test --generate EXTENSION_NAME. (N/A - this PR updates an existing extension.)Testing changes
npm run conformancepasses.npm test -- MangaPluspasses.Committing changes
type(Scope): summary, e.g.fix(EXTENSION_NAME): ...).AI assistance
Pick one:
Assisted-by: Codex:gpt-5.3trailer to each AI-assisted commit.