Zekfad / nhentai-api

Node.JS client for nhentai.net undocumented API.
https://zekfad.github.io/nhentai-api/
ISC License
42 stars 6 forks source link

Most recent Upload #7

Closed shiiiina closed 3 years ago

shiiiina commented 4 years ago

How do we get the most recent upload to the site?

Zekfad commented 4 years ago

They allow to search for everything. By default sort method is recent, so you just have to search for *, e.g.:

api.search('*').then(search => {
//...
});
Zekfad commented 4 years ago

I guess my answer is suitable, if there are additional problems, you can comment here and I'll reopen issue.

Zekfad commented 3 years ago

API seems to reject this method now. I'll have to find a fix or workaround.

Zekfad commented 3 years ago

Old solution seems to works as for now. :D