Open
Conversation
Add comprehensive toolkit for solving font obfuscation issues on websites like Qidian.com that use custom fonts with scrambled character mappings to prevent web scraping. Features: - Core library (qidian-font-mapper.js) for font analysis and decoding - Practical web scraping example (qidian-scraper-example.js) with CLI - Browser-based UI (qidian-browser-decoder.html) for interactive testing - Comprehensive documentation (README-QIDIAN-FONT-MAPPER.md) with guides The toolkit uses fontkit to: - Parse custom font files (WOFF, WOFF2, TTF, OTF) - Analyze character-to-glyph mappings (cmap tables) - Compare glyph shapes to build decoding tables - Decode obfuscated text back to original characters Includes multiple approaches: 1. Reference font comparison (accurate but slower) 2. Heuristic analysis (faster but may need manual verification) 3. Pattern detection for sequential mappings Use cases: - Research on font encoding techniques - Educational purposes for understanding anti-scraping - Personal content access for legitimate subscribers All tools include proper documentation and ethical usage guidelines.
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.
Add comprehensive toolkit for solving font obfuscation issues on websites like Qidian.com that use custom fonts with scrambled character mappings to prevent web scraping.
Features:
The toolkit uses fontkit to:
Includes multiple approaches:
Use cases:
All tools include proper documentation and ethical usage guidelines.