NovelNice - #2395
Conversation
BoxNovel rebranded to Novel Nice (novelnice.com). Add it as a new madara instance (id novelnice, v2.2.0) instead of touching the existing boxnovel entry, so existing installs keep working and the rebrand installs fresh. - sources.json: new novelnice entry (same site, useNewChapterEndpoint) - filters/novelnice.json + icon: copied from boxnovel (same genre list) Fixes lnreader#2369
f20fc1c to
10f8088
Compare
|
Is there any reason why this pr was created? The boxnovel plug-in already redirects to novelnice. |
Ahhhh. Saw the issue was still open. My bad. EDIT: The current one still only shows the first page of chapters. |
Only for a few novels, most of them show all chapters, this pr shouldn't fix that particular issue, is literally the same thing, you just changed boxnovel do novelnice. Nothing in the code or script has been changed. |
Some sites cap the ajax/chapters response at 200 entries and paginate via ?t=N links (data-page). Detect the pagination links on the first page and fetch the remaining pages, concatenating the HTML before parsing, so the full chapter list is returned instead of the cap.
The template.ts fix was uncommitted when you reviewed. Initially, the template was updated to send the user to a 1.0.0 Novel Nice instead of Boxnovel 2.2.3. But I undid. |
I have noticed that, so what the changes in template fixes? Only the chapter list? |
Yes, that's right. |
Fixes #2369
BoxNovel rebranded to Novel Nice (novelnice.com). Added as a new madara plugin (id
novelnice, v2.2.0) — the existingboxnovelentry is left untouched, so current installs keep working and the rebrand installs fresh.sources.json: newnovelniceentry (same site,useNewChapterEndpoint)filters/novelnice.json+ icon: copied from boxnovel (same genre list)template.ts: fetch all pages of paginated chapter lists (some sites cap the ajax response at 200 chapters and paginate via?t=Nlinks)If blocked by Cloudflare, open the site in the app webview and solve the challenge once — the
cf_clearancecookie then makes search work for its TTL.