feat(ar/mknov): add مملكه الروايات plugin - #1
Merged
Merged
Conversation
Add source plugin for mknov.com (مملكه الروايات), an Arabic novel site. Features: - popularNovels, parseNovel, parseChapter, searchNovels, resolveUrl - Decodes the site's font-cmap obfuscation (19 rotating cipher maps) - Handles Next.js RSC flight payload extraction for chapter content Co-Authored-By: Claude Code <noreply@anthropic.com>
hamedhani1998
force-pushed
the
feat/ar-mknov
branch
from
September 12, 2026 18:19
4ddf5c5 to
da48e9f
Compare
TypeScript downlevels [...content] to a __spreadArray helper that requires a real array and throws "Cannot use 'in' operator" on strings during parseChapter. Switch to Array.from which iterates strings safely. Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
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
Adds source plugin for مملكه الروايات (mknov.com), an Arabic web novel site.
What's included
plugins/arabic/mknov.tspublic/static/src/ar/mknov/icon.pngFeatures
popularNovels(paginated /api/works)parseNovel(volumes → chapters via /api/works/{id}/chapters)parseChapter— decodes the site's font-cmap obfuscation (19 rotating cipher maps) and extracts Next.js RSC Flight payloadssearchNovels(client-side filter over the full work list)resolveUrlVerification
npm run lint— cleannpm run check:plugin -- plugins/arabic/mknov.ts— all live checks pass (popularNovels ✓, searchNovels ✓, parseNovel ✓, parseChapter ✓)