DiamondMiner88 / nhentai

A library for interacting with the nhentai API
https://diamondminer88.github.io/nhentai/index.html
MIT License
13 stars 1 forks source link

API throwing 503 / FetchError: invalid json response body #14

Open CyanFroste opened 2 years ago

CyanFroste commented 2 years ago

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

CyanFroste commented 2 years ago

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

rushiiMachine commented 2 years ago

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

rushiiMachine commented 2 years ago

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