Skip to content

fix(english): WTR-LAB fix missing chapters pagination and URL patterns (#2340)#2342

Open
52191314 wants to merge 1 commit into
lnreader:masterfrom
52191314:fix/wtrlab-missing-chapters
Open

fix(english): WTR-LAB fix missing chapters pagination and URL patterns (#2340)#2342
52191314 wants to merge 1 commit into
lnreader:masterfrom
52191314:fix/wtrlab-missing-chapters

Conversation

@52191314

@52191314 52191314 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

…s (Closes #2340)

Checklist

  • Update version code if an existing plugin was modified
  • Test changes in Plugin Playground or the app
  • Reference related issues in the PR body (e.g. Closes #xyz)

Description

Fixes missing chapters issue on WTR-LAB (Closes #2340).

  • Updated fetchAllChapters to fetch chapters dynamically in 500-item batches until completion, bypassing HTML page redirect limits for 18+ / adult novels.
  • Extended URL regex to support both /serie- and /novel/ URL paths.
  • Bumped WTR-LAB plugin to v1.1.5.

@K1ngfish3r

Copy link
Copy Markdown
Collaborator

you need only one file for this i believe, can delete the rest from this PR

@52191314
52191314 force-pushed the fix/wtrlab-missing-chapters branch 3 times, most recently from 6b523d5 to 39eab9f Compare July 23, 2026 08:59
@52191314
52191314 force-pushed the fix/wtrlab-missing-chapters branch from 67741ce to 34d9df6 Compare July 24, 2026 14:14
@Remielas

Copy link
Copy Markdown

How do I do the fix? I'm kind of a layman on this kind of thing

@52191314

Copy link
Copy Markdown
Contributor Author

How do I do the fix? I'm kind of a layman on this kind of thing

It is already fixed. Waiting for a merge so you can see the update.

Comment thread plugins/english/wtrlab.ts

for (let start = 1; start <= totalChapters; start += batchSize) {
const end = Math.min(start + batchSize - 1, totalChapters);
while (true) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use a flag instead of using boolean directly
let hasMore = true;
eslint currently complaining

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.

Genshin Impact : Start with Dark-dark Fruit missing chapters

3 participants