Skip to content

fix(readnovelfull): load FreeWebNovel listing page 2+ on default browse - #2552

Open
RibatTRW wants to merge 1 commit into
lnreader:masterfrom
RibatTRW:fm/lnreader-freewebnovel-pagination-fix
Open

RibatTRW wants to merge 1 commit into
lnreader:masterfrom
RibatTRW:fm/lnreader-freewebnovel-pagination-fix

Conversation

@RibatTRW

@RibatTRW RibatTRW commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Fix

Closes the listing-pagination half of #2550 for FreeWebNovel: with the default browse filter (sort/most-popular), pages after page 1 returned an empty list without any request being sent. Cause: a stale "noPages": ["sort/most-popular"] on the FWN.com entry (added in the #1846 multisrc refactor), which short-circuits popularNovels to [] for pageNo > 1 on the default filter — while the site itself paginates that list today (verified live: pages 1–3 with distinct novels and correct "- Page N" titles, including the site's own link to /sort/most-popular/2).

Change: remove that one noPages line (other sources keep theirs) and bump versionIncrements 4 → 5 (plugin 2.2.5 → 2.2.6). template.ts is untouched.

No overlap with #2320: that PR changes chapter-list parsing in template.ts; this one changes only sources.json listing options. On current master the chapter-list half already resolves through the api/chapterlist.php flow from #2322 (a 2404-chapter novel returns all 2404 chapters before and after this change) — the reporter's "page 1 only" symptom matches an older released plugin, not master. Both PRs bump versionIncrements, so that line may need a manual resolve keeping the higher value.

Verification

check:plugin is INCONCLUSIVE here (HTTP 403 — direct runner IPs are Cloudflare-blocked; per docs/testing.md a site/runner block, not a plugin result). Instead, 11 fresh responses captured through a cleared browser were served to the bundled plugin via a local fetch stub: default-browse pages 2 and 3 go from 0 novels with no request sent to 20 distinct novels each, with page 1, latest/genre/type pages, search, the 2404-chapter novel, and chapter text all unchanged. build:compile and build:multisrc pass; lint and format results are identical to clean master.

AI-authored change; all claims come from recorded local evidence dated 2026-09-22. No human review.

The FWN entry's noPages skip made popularNovels return [] for
pageNo > 1 of the default sort/most-popular listing without even
sending a request, while the site serves /sort/most-popular/2 and /3
with distinct novels (verified live 2026-09-22; fixture harness in
data/lnreader-freewebnovel-pagination-verify/, not committed). Remove
the stale skip for FWN only and bump versionIncrements (2.2.5 ->
2.2.6). Chapter-list pagination is untouched: current master already
returns full chapter lists via api/chapterlist.php, and open PR lnreader#2320
covers the chapter-page path it targets.

Closes lnreader#2550 (novel-listing half; see PR body for the chapter-list
analysis and relation to lnreader#2320).

Co-Authored-By: AI agent (pi) <noreply@pi.local>

This branch has not been deployed

No deployments
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