DiamondMiner88/nhentai

API throwing 503 / FetchError: invalid json response body

CyanFroste opened this issue · 3 comments

When accessing the api via browser, it's going through cloudflare, is that bad?

Yea, it's the DDoS protection by cloudflare. so... rip API?

indeed
rip library

ill try messing around with selenium, however this is no longer going to be a simple api lib
maybe this is a mistake or only temporary so wait a few weeks and see

Like the guy above mentioned, you can use something like https://github.com/FlareSolverr/FlareSolverr to run a headless chromium proxy, probably