Skip to content

Fix wuxiaworld.eu parser after site rebuild - #3185

Open
luoojason wants to merge 1 commit into
dteviot:ExperimentalTabModefrom
luoojason:patch-1
Open

luoojason wants to merge 1 commit into
dteviot:ExperimentalTabModefrom
luoojason:patch-1

Conversation

@luoojason

@luoojason luoojason commented Nov 29, 2026 •

Copy link
Copy Markdown

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 with Fetch of URL '.../api/chapters/<slug>/' failed with network error ... 404.
  • Chapter text is now in #chapter-content instead of #chapterText, and the cover/synopsis markup changed.

Changes (WuxiaworldeuParser.js only)

  • 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>.
  • Content selector is now #chapter-content; novel title is h1; cover is the first img[src*='/covers/'].
  • Removed the synopsis (.mantine-Spoiler-root) override, since that markup no longer exists.
  • The new API doesn't return chapter titles, so TOC entries are named "Chapter N". The heading inside each chapter still comes from the page h1.

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.
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