Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I believe NHentai updated their website, the API seems to be broken as a result... #12

Closed
Montegro opened this issue Apr 29, 2022 · 2 comments

Comments

@Montegro
Copy link

Went to go visit NHentai today to pull a few galleries for my software, noticed it now "Checks your browser" before loading in. Out of curiosity I attempted to have my program fetch one of the top results only for it to no longer load any information correctly.

Is there already an existing way around this? Or do we need to work on an update for the NHentaiAPI?

@andy840119
Copy link
Collaborator

andy840119 commented May 2, 2022

Tested and seems like the API need some extra header.

https://nhentai.net/api/galleries/all?page=1
This URL works.

But it will return 503 error if not open in the browser.

I guess it's caused by n-hentai apply cloudflare to protect their website recently.

@SylveonDeko
Copy link
Owner

Solved, update to 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants