fix(english): WTR-LAB fix missing chapters pagination and URL patterns (#2340)#2342
Open
52191314 wants to merge 1 commit into
Open
fix(english): WTR-LAB fix missing chapters pagination and URL patterns (#2340)#234252191314 wants to merge 1 commit into
52191314 wants to merge 1 commit into
Conversation
Collaborator
|
you need only one file for this i believe, can delete the rest from this PR |
52191314
force-pushed
the
fix/wtrlab-missing-chapters
branch
3 times, most recently
from
July 23, 2026 08:59
6b523d5 to
39eab9f
Compare
52191314
force-pushed
the
fix/wtrlab-missing-chapters
branch
from
July 24, 2026 14:14
67741ce to
34d9df6
Compare
|
How do I do the fix? I'm kind of a layman on this kind of thing |
Contributor
Author
It is already fixed. Waiting for a merge so you can see the update. |
K1ngfish3r
reviewed
Jul 25, 2026
|
|
||
| for (let start = 1; start <= totalChapters; start += batchSize) { | ||
| const end = Math.min(start + batchSize - 1, totalChapters); | ||
| while (true) { |
Collaborator
There was a problem hiding this comment.
use a flag instead of using boolean directly
let hasMore = true;
eslint currently complaining
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.
…s (Closes #2340)
Checklist
Description
Fixes missing chapters issue on WTR-LAB (Closes #2340).
fetchAllChaptersto fetch chapters dynamically in 500-item batches until completion, bypassing HTML page redirect limits for 18+ / adult novels./serie-and/novel/URL paths.