Manhuarm (ALL): fix OCR text pages not appearing#83
Open
MuhamadSyabitHidayattulloh wants to merge 4 commits into
Open
Manhuarm (ALL): fix OCR text pages not appearing#83MuhamadSyabitHidayattulloh wants to merge 4 commits into
MuhamadSyabitHidayattulloh wants to merge 4 commits into
Conversation
- Extract OCR tokens directly from the page HTML via regex. - Bypass new anti-scraping measures that used iframes and Math.random detection. - Preserve all pages in the reader by mapping OCR data to original pages. - Improve null safety in DTO deserialization. - Remove obsolete WebView-based OCR interceptor and associated scripts. - Bump version code to 24.
- Extract OCR tokens directly from the page HTML via robust regex. - Use network.client directly for OCR POST requests to avoid interceptor recursion and ensure clean connection. - Ensure OCR endpoint URL is absolute. - Improve DTO serialization by using data classes and explicit @SerialName for private properties. - Preserve all pages in the reader by mapping OCR data to original pages. - Address code review feedback on null safety. - Remove obsolete WebView-based OCR interceptor and associated scripts. - Bump version code to 24.
- Extract OCR tokens directly from page HTML script tags. - Use main OkHttp client for OCR requests to maintain session/cookies. - Robust PAGE_REGEX to handle image URLs with query parameters and fragments. - Refactored page matching logic to preserve all pages in the reader. - Improved ComposedImageInterceptor reliability and Content-Type preservation. - Updated DTOs to follow contributor guidelines (regular classes, toJsonRequestBody). - Removed obsolete WebView-based components. - Bump version code to 24.
- Extract OCR tokens directly from page HTML script tags. - Use main OkHttp client for OCR requests to maintain session/cookies and bypass Cloudflare. - Robust PAGE_REGEX to handle various image URL formats with potentially encoded fragments. - Improved matching logic in pageListParse to reliably attach OCR data to existing pages. - Enhanced ComposedImageInterceptor with better error handling and proper Content-Type preservation. - Updated DTOs to follow CONTRIBUTING.md guidelines (regular classes, toJsonRequestBody). - Removed obsolete WebView-based interceptor and associated scripts. - Bump version code to 24.
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.
Checklist:
extVersionCodevalue inbuild.gradlefor individual extensionsoverrideVersionCodeorbaseVersionCodeas needed for all multisrc extensionsisNsfw = trueflag inbuild.gradlewhen appropriateidif a source's name or language were changedweb_hi_res_512.pngwhen adding a new extension