Closed Enrico-Fabbri closed 1 year ago
try this dev build: https://github.com/K1ngfish3r/lnreader/actions/runs/5403272535 it should fix [x] lightnovelpub search [ ] cloudflare protection? once you open the source once in webview mode and back out you should have the cookies for when you enter the source again but that is surprisingly odd since you managed to obtain page one. [x] open the chapter in webview and go down the chapter and accept the verification message that appears at the middle of the chapter. lasts for around 3-4 chapters before having to do it again. this is based on my download testing
How should I try the dev build? (I'm a noob)
Click on LNreader-r1 under artifacts
Ok so the thing is that now sometimes it works correctly and sometimes it doesn't.
As you can see sometimes it is unable to bypass cloudflare
Sometimes it doesn't load the data
And sometimes it is just stuck in this endless process
Ah, I totally forgot this problem
Anyway, the problem of the page not loading the data happens only when I try to open something like 2/3 novels at a time (I don't wait for the page to load and return right back).
Probably as you said it's my internet speed that is slow that is why the page get stuck on loading for quite some time (I'll just wait for a bit more and see if it happens again)
here's another dev build for you https://github.com/K1ngfish3r/lnreader/actions/runs/5414497422 I tried cleaning up the selectors a bit if the novel decides to go unknown and double checked the search logic. After installing go to More -> Settings -> Advanced -> Clear all (5 options, read them before you use them) and try to search again.
I cleared all the options as you mentioned.
Ok so now the search works perfectly, but it still get stuck on the new novels (novels I don't have saved in my library) when I try to check their data... This time around I waited for two minutes before going back but it just got stuck on the loading of the novel data.
I searched for this ln but it didn't load
as you can see there (as I said I waited two minutes)
Okay I think I know what's happening. You're most likely getting cloudflare'd whilst the chapters are being loaded. (literally opening more than 5 pages if more than 500 chaps). I'll try looking into a partial load of chapters and seeing if that fixes things
Source information
LightNovelPub
Steps to reproduce
Search a novel on LightNovelPub using the global research and specific research. Try to read a novel.
Expected behavior
It should load the Light Novels
Actual behavior
When I search a novel in the global search lnp always visualize a JSON parsing error
And I always get an error saying the app couldn't surpass cloudflare protection
It won't load all the text of the chapter
![Screenshot_2023-06-28-16-38-18-41_3c1c179116822eec69c21805387f0489.jpg](https://github.com/LNReader/lnreader-sources/assets/70634071/bfde20e9-26c8-4c0b-a1a9-369315e4b4a6)
LNReader version
1.1.15
Android version
Android 13
Other details
No response
Acknowledgements