diamondminer88 / nhentai Goto Github PK
View Code? Open in Web Editor NEWA library for interacting with the nhentai API
Home Page: https://diamondminer88.github.io/nhentai/index.html
License: MIT License
A library for interacting with the nhentai API
Home Page: https://diamondminer88.github.io/nhentai/index.html
License: MIT License
When accessing the api via browser, it's going through cloudflare, is that bad?
Rest of the sorting methods are working for query *
. recent
is working for any other query too.
p.s. I can fork and contribute if you let me in on how you got api endpoints. thanks. I don't wanna go back to scraping.
What's the rate limit?
Getting errors when seaching for stuff like 'genshin impact' and 'hololive'. Curious what would be going on. I'm getting:
{"response":{"error":"does not exist"},"url":"https://nhentai.net/api/galleries/search?query=hololive&page=1","name":"nhentaiAPIError","level":"error","timestamp":"2021-04-04T03:21:17.162Z"}
if its not the package that causes the issue, just close it out. thats fine.
thanks!
p.s. Insignificant but you can change doujinId
to just id
in Doujin class.
It should return something like https://t.nhentai.net/galleries/1553654/thumb.png
instead of https://t.nhentai.net/galleries/1553654/thumbnail.png
@DiamondMiner88 Do you know why some pages throw does not exist
like...
this works -> https://nhentai.net/api/galleries/search?query=*&page=5&sort=popular
but this doesn't -> https://nhentai.net/api/galleries/search?query=*&page=4&sort=popular
Hello, I'm a TypeScript user and noticed that your package is only exporting "API" and "SortMethods".
It would be helpful if you could export all your classes and interfaces here:
https://github.com/DiamondMiner88/nhentai/blob/main/src/index.ts
My use case is to type function parameters.
const getDoujin = (doujin: Doujin) => {}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.