Skip to content

Add 69shuba.com scraping support - #468

Open
hughengwu wants to merge 1 commit into
maoserr:masterfrom
hughengwu:feature/69shuba-support
Open

Add 69shuba.com scraping support#468
hughengwu wants to merge 1 commit into
maoserr:masterfrom
hughengwu:feature/69shuba-support

Conversation

@hughengwu

Copy link
Copy Markdown
  • Add meta_69shuba() to extract book metadata (title, author, cover, desc)
  • Add shuba69_chapter() text parser: extracts content from .txtnav, strips ads/nav, removes paragraph indentation ( ), cleans title
  • Add detector case for www.69shuba.com (/book/* pages)
  • Add chap_parser field to ParserDetected to allow link-type detectors to specify a preferred text parser (used here to auto-select 69shuba)
  • Fix getCharset() to return bare value directly instead of passing it through content-type parser (fixes GBK decoding)

- Add meta_69shuba() to extract book metadata (title, author, cover, desc)
- Add shuba69_chapter() text parser: extracts content from .txtnav,
  strips ads/nav, removes paragraph indentation ( ), cleans title
- Add detector case for www.69shuba.com (/book/* pages)
- Add chap_parser field to ParserDetected to allow link-type detectors
  to specify a preferred text parser (used here to auto-select 69shuba)
- Fix getCharset() to return bare <meta charset="..."> value directly
  instead of passing it through content-type parser (fixes GBK decoding)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant