Repository navigation
Conversation
The site's /api/chapters/<slug>/ endpoint now returns 404 and chapter text moved from #chapterText to #chapter-content. Build the chapter list from the /chapter/<slug>-<n> URL pattern and read text from #chapter-content.
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.
wuxiaworld.eu was rebuilt (build dated 2026-11-27) and the parser no longer works:
/api/chapters/<slug>/now returns 404, so loading the chapter list fails withFetch of URL '.../api/chapters/<slug>/' failed with network error ... 404.#chapter-contentinstead of#chapterText, and the cover/synopsis markup changed.Changes (
WuxiaworldeuParser.jsonly)getChapterUrls: chapters follow/chapter/<slug>-<n>, so the list is built for n = 1..last. The last number is read from the chapter links on the novel page (the "Latest" link), or from "Chapter N of M" on a chapter page. If neither is found it falls back to/api/trpc/chapter.runs, using the novel id from the page's__NEXT_DATA__. Also works when started from a chapter page, not just/novel/<slug>.#chapter-content; novel title ish1; cover is the firstimg[src*='/covers/']..mantine-Spoiler-root) override, since that markup no longer exists.h1.