NClientV2 icon indicating copy to clipboard operation
NClientV2 copied to clipboard

BUG

Open Pelfa opened this issue 3 years ago • 18 comments
trafficstars

Hello. I wanted to make this short and clarify the bug easily.. basically it keeps saying no entries found.. Althought i tried to see if its the websites problem its not.. also idk if it has been there before since its been long since i last visited the website but it has a DDoS Protection now The app was working fine just hours ago. I tried fixing the problem by reinstalling/updating the app but the problem stays the same.. i resetted the app, restarted my phone.. doesnt work really.. so i hope u fix this bug... Or maybe time will fix it and my phone is just being dumb right now. Thx!!

Pelfa avatar Mar 05 '22 18:03 Pelfa

Hi, the title of your issue isn't descriptive at all of your issue, if every bug was named "BUG" nobody would be able to navigate the issues, I almost made my own issue instead of commenting here because I didn't even realize that this was the same issue I'm experiencing, from now on, when making issues, please title them accordingly. A good title would be "No Entries Found"

Notarin avatar Mar 06 '22 00:03 Notarin

Also, I'm having the same issue as well, most likely either the API has been updated, or if the app scrapes, the site itself has been updated.

Notarin avatar Mar 06 '22 00:03 Notarin

This was also mentioned in #386

Notarin avatar Mar 06 '22 00:03 Notarin

If it uses the NHentai NPM API then that appears to be currently down https://github.com/Zekfad/nhentai-api/issues/24 But then again, I have absolutely no idea what API this app uses or if it scrapes or not.

Notarin avatar Mar 06 '22 00:03 Notarin

Seems like nhentai added a cloudflare system. So I can guess that this major system upgrade is also interfering with the API hence the downtime.

Kinuseka avatar Mar 06 '22 06:03 Kinuseka

Same issue, a nhentai link cant be opened by NClientV2, on my phone it will do nothing and directly go back to the former app, but it can be opened and load content well by a web browser after a cloudflare check, that is probably where the problem lies.

Magnetogenerator avatar Mar 06 '22 09:03 Magnetogenerator

After looking through the app, I've found that you can still open your favorites and even download them.

Notarin avatar Mar 06 '22 13:03 Notarin

I've found this online https://www.reddit.com/r/wholesomehentai/comments/t7gf2q/please_read_before_posting_an_nhentai_link/ image This pretty much confirms that the issue is Cloudflare. Apparently the devs of that sub have found a solution, I've sent a message and am awaiting a response

Notarin avatar Mar 06 '22 14:03 Notarin

I've received a response, They've never actually found a solution, they just don't scrape the site anymore.

Notarin avatar Mar 06 '22 14:03 Notarin

I've received a response, They've never actually found a solution, they just don't scrape the site anymore.

Seems like they had a private API access. I wonder if they ever consider making it public

Kinuseka avatar Mar 06 '22 15:03 Kinuseka

I propose a solution; What I found is that the site does not need to reload cloudflare when a browser is deemed legitimate. We can perhaps integrate a browser open it on first boot, and let the cloudflare do its job, and take the session and or cookie/token after the authentication with the integrated browser. The app will now load as normal. If the token/cookie expires we reload with the same technique. I dont know if this abides ToS but the APP only rearranges contents of the website to make it compatible into the mobile viewing. Alternatively we can also wait for the new API to drop. Goodluck

Kinuseka avatar Mar 06 '22 15:03 Kinuseka

Another solution to cloud flare protection or anti-scraping i've seen is using this Program called Flaresolverr. https://github.com/FlareSolverr/FlareSolverr

keatit71 avatar Mar 06 '22 15:03 keatit71

Another solution to cloud flare protection or anti-scraping i've seen is using this Program called Flaresolverr. https://github.com/FlareSolverr/FlareSolverr

This is pretty much what I said. The existence of this repo might make it easier

Kinuseka avatar Mar 06 '22 15:03 Kinuseka

Flaresolverr is already used to bypass cloudflare restrictions on torrent sites for programs like jackett which is how i found it so it should work well in this regard.

keatit71 avatar Mar 06 '22 15:03 keatit71

I'm not sure if anyone has noticed, but it appears that the issue has been solved, app is working normal for me

Notarin avatar Mar 06 '22 16:03 Notarin

I've received a response, They've never actually found a solution, they just don't scrape the site anymore.

Seems like they had a private API access. I wonder if they ever consider making it public

No, they literally just completely stopped scraping the site altogether image

Notarin avatar Mar 06 '22 16:03 Notarin

https://github.com/Dar9586/NClientV2/pull/428 should fix this

chayleaf avatar May 01 '22 16:05 chayleaf

If this is fixed by #428 and it's now merged, shouldn't this be closed?

Notarin avatar May 27 '22 06:05 Notarin