Feat/novelspl - #238
Merged
Merged
Conversation
The site fronts every page with Anubis, a proof-of-work anti-bot challenge (200 OK, but the body is the challenge shell). Solved once per session in a real WebView (useOkHttpNetwork so the earned clearance cookie lands in this source's own cookie jar), mirroring the Cloudflare-challenge pattern already used in Honeyfeed; plain requests work normally afterwards. This could not be verified live in this environment - curl can't execute the challenge's JS - so page markup was provided by the user from a real solved browser session rather than scraped directly here. Chapter lists are paginated server-side (50/chapter page) with no "show all" mode; every page the "Last" pager link reports is fetched concurrently and merged. The catalog itself has no dedicated paginated listing endpoint, only one large /listNovels table, so popular/search page through a single fetch of it.
…efully on getMangaByUrl
- toSManga()/parseAllChapters() called .toHttpUrl() on attr("href")
directly, assuming the scraped markup always gives an absolute URL;
switched to attr("abs:href") like the rest of this repo.
- parseMangaDetails threw on a missing .panel-title instead of
degrading gracefully.
- getMangaByUrl let a failed request/challenge crash instead of
returning null, unlike Honeyfeed's equivalent Anubis/Cloudflare
bypass path.
…date The itemprop=description <p> is left empty by the site template; real blurb is the plain-text sibling <p> after it. Alt titles were matched against the wrong selector (an anchor list that doesn't exist) instead of the plain-text Associated Names line. Also surface rating/votes, views, date created, and update frequency in the description since SManga has no dedicated fields for them.
…yFragment, strip comments
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:
versionCodevalue inbuild.gradle.ktsbaseVersionCodeinbuild.gradle.kts(if updated multisrc theme code)contentWarningconfiguration inbuild.gradle.ktsappropriatelyidif a source's name or language were changedweb_hi_res_512.pngwhen adding a new extension