Repository navigation
fix(english/scribblehub): restore search, status, dates and chapter list - #2826
Conversation
[Medium impact] The PR appears safe to merge within its stated newest-15-chapters limitation. SummaryUpdates
Acknowledged limitations from henriquetatagiba:
Reviews (1) · Last reviewed commit: "chore(english/scribblehub): set version ..." · Reviewed by Greptile |
7db0ca5 to
f5b07ec
Compare
|
Eagerly waiting for it to be included in a version. Impossible to update, browse and load new novels from this source otherwise. |
|
Have you verified that this works? I couldn't make your version work on my device and btw how did you solve the 403. |
f5b07ec to
c22a78f
Compare
- search through the series finder with paging; the old search URL returns 410 - default popular sort to pageviews and fix the Last Updated sort value - read status from the status row, including Hiatus - parse relative and absolute release dates and set chapter numbers - load the full chapter list from the releases endpoint, falling back to the latest chapters on the novel page if that request fails
c22a78f to
460dcef
Compare
|
@D3ICIDE scribblehub's cloudflare rules are pretty strict, I had to update the User Agent on my device to get it working; but the chapters list were fallback-ing to the last 15 (the ones that show in the novel's index page). Motived to get this working, I've create this PR lnreader/lnreader#2118 to improve the cloudflare bypass |
|
Have you tested that your plugin works in your device? Also UA shouldn't have fixed anything because when I last checked scribblehub responded even without proper UA(through curl). It worked just with valid cookie(with curl not with the app or playground). The Problem that I had identified was that for some reason app wasn't saving the cf clearance cookie. How did you solve that? |
|
Is this not ready for merge yet? |
|
@D3ICIDE Yes, I tested it on a Samsung Galaxy S25 with LNReader 2.1.4. Popular, latest, novel details and chapter reader all work. The chapter list gives me mixed results. The plugin loads the novel page, then asks for the full chapter list through the site's pagination request (
The plugin doesn't do anything to get past the challenge. It could be related to the What helped me in general was updating the UA and then opening the novel in the WebView to clear the Cloudflare challenge. I'm currently using: |
|
i updated the plugin but its still showing "no result found"... not working for me only? |
Same here |
Don't forget to go and manually defeat the big bad cloud flare before updating scribblehub novels. Works for me! |
Well, that's common stuff. In my case, there's no CF block in webview, the site works fully fine, i even opened a novel chapter in webview. But in plugin, it's still no result. It was the same before too, i don't see any change brought by this update |
I had the exact same issue, but I just got it working by opening Firefox and stealing the UA from there. (I previously tried the one posted by @henriquetatagiba, that didn't fix it for me.) |
So you just went to firefox, searched "what is my user agent" and copy pasted the text into lnreader? That's what you did? If yes, then I've already done it tho |
|
@MonomoySama @joseph-marques other than updating the UA, did you clear the cached novels? Settings > Advanced
|
|
@MonomoySama yep, that's exactly what I did @henriquetatagiba I did both of those after trying your user agent, which didn't seem to make difference. But that may have been a prerequisite for making my other UA work. |
Ok so i managed to use it, i connected to vpn, united kingdom, and the webview CF verification finally appeared, i just did it and plugin started working, all novel updated and downloaded. But when i turned off vpn and tried again, it's same "no result found" while no CF verification appearing in Webview |
Summary
Scribble Hub was close to unusable (#2823): browse often showed "No results", novels opened without chapters or failed with "Unable to load novel", and search returned nothing (#2344). This PR fixes the parts the plugin controls and bumps it from 1.0.2 to 1.1.0.
/?s=…&post_type=fictionpostsURL now returns HTTP 410. Search goes through the series finder (series-finder/?sf=1&sh=<term>&pg=<page>), which is what the site's own search box does. It passes the page number, so results no longer repeat on scroll (the reason Update scribblehub plugin to use new seriesfinder url #2372 was closed).pageviews.ratingssorts by average rating, so novels with one 5-star vote and 1–2 chapters filled the list.lastchpdate(waslastchdate, which the site ignores).dayjs().subtract()results, so "N ago" dates became "now" and absolute dates becamenull. The new parser reads the full date in thetitleattribute (e.g.Nov 1, 2026 06:07 PM) and handles relative dates.orderattribute. Chapters are sorted by it.Closes #2344
Refs #2823, #2475
Testing
npm run check:plugin -- plugins/english/scribblehub.tsis INCONCLUSIVE: Cloudflare returns 403 to Node.eslint,prettier --check,tscandnpm run build:compilepass for the plugin.This PR was written with the help of an AI agent.
Checklist
type(scope): description(e.g.feat(<generator>): add new source)