Closed qweri0p closed 3 months ago
i'm looking into the possibility to export json objects from
https://nhentai.net/api/galleries/search?query=doujinshi&page{insert index here}
from 1 to 14532 (right now, will increase with time)
i might be able to automate to get these json objects using a webbrowser that gets past the filter. then combine all objects into one blob.
fuck this shit
edit: should do https://nhentai.net/api/galleries/search?query=manga&page{insert index here} as well
TODO: check out https://github.com/FlareSolverr/FlareSolverr maybe this fixes it?
EDIT: it works :) might even be able to reuse the nhentai-api package
EDIT 2: nah i'll have to make another repo to get the JSON data https://github.com/qweri0p/nhentai-json
EDIT 3: this is seriously the worst. FlareSolverr is not suited to retrieving an entire database, page by page. i'll try to rework one of the nhentai clients to route everything through FlareSolverr. https://github.com/qweri0p/nhentai-api-flaresolverr
ok cool nhentai allows for bots on their site again lmao
fuck nhentai they enabled cloudflare ddos protection again
ok so nhentai's api works again
i think i'm gonna restart the nhentai-json project again as a definitive backup
keeping this issue open for now
nhentai put it's API behind bot protection, which is fucking stupid.
an API is made for non-humans to use, why put it behind cloudflare???!?!?!?!?!?
i will be unable to add unwholesome culture until nhentai fixes it's shit ):
the command file is done. it can be found in WIP/unwholesome.ts
if you know a workaround pls comment on this issue thx