Skip to content

fix(readnovelfull): fix chapter pagination and bypass cloudflare for FWN & LibRead#2295

Open
Mohking1 wants to merge 1 commit into
lnreader:masterfrom
Mohking1:fix/fwn-libread-pagination
Open

fix(readnovelfull): fix chapter pagination and bypass cloudflare for FWN & LibRead#2295
Mohking1 wants to merge 1 commit into
lnreader:masterfrom
Mohking1:fix/fwn-libread-pagination

Conversation

@Mohking1

Copy link
Copy Markdown

Closes #2288
Closes #2281
Closes #2279

FreeWebNovel and LibRead recently updated their site structures to use AJAX pagination for chapters, which caused the plugin to only load the first 40 or so chapters. This PR implements multi-page fetching to get the full list again.

While fixing the pagination, Cloudflare started blocking the multiple requests needed to get the full list. I bypassed this by spoofing the Referer and X-Requested-With headers so the requests pass through cleanly.

Also noticed a small bug in popularNovels where encountering a null/empty filter caused the list fetching to break, so I went ahead and fixed that too.

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)

Copilot AI review requested due to automatic review settings July 10, 2026 17:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

Freewebnovel not working Libread novels not updating Free webnovel not working

2 participants