7.8 KiB
RESTful and experimental API for the doujinboards
Jandapresspress was named JCE (Janda Cheerio Express) and definitely depends on them.
The motivation of this project is to bring you an actionable data related doujin with gather in mind.
The problem
You enjoy using some doujin sites to build web applications. There are a lot sites that have effort especially pururin, simply-hentai and so on, not official api available nor public resource that can be used for everyone. Instead making lots of abstraction and enumerating them manually, You can rely on jandapress to make less of pain.
The solution
Luckily there are solutions. Jandapress is here
Features
- Gather the most doujin sites
- Objects taken that are consistent structure, almost
- Objects taken is re-appended to make it more actionable
- All in one: get, search, and random methods
- Free to use(currently): In the future we may implement JWT authentication
- Pure scraping
Jandapress vs. the doujinboards
Site | Status | Get | Search | Random |
---|---|---|---|---|
nhentai |
✅ | ✅ | ✅ | |
pururin |
✅ | ✅ | ✅ | |
hentaifox |
✅ | ✅ | ✅ | |
hentai2read |
✅ | ✅ | ❌ | |
simply-hentai |
✅ | ❌ | ❌ | |
asmhentai |
✅ | ✅ | ✅ |
🚀Installation
If you want add or deploy your own Jandapress
- Clone this repository
git clone https://github.com/sinkaroid/jandapress.git
- Install dependencies
npm install / yarn install
Prerequisites
NOTE: NodeJS 14.x or higher |
Running tests
Start the production server
npm run start:prod
Running development server
npm run start:dev
Check the whole sites, It's available for scraping or not
npm run test
Check nhentai It's under cloudflare protection or not
npm run test:cf
To running other method, you can see object scripts in file
package.json
, Default port is3000
Routing
the parameter?
: means is optional.
-
/
: Iindex page -
/nhentai
: nhentai api- get, takes parameters :
book
- search, takes parameters :
key
,?page
,?sort
- related, takes parameters :
book
- random
- Example
- get, takes parameters :
-
/pururin
: pururin api- get, takes parameters :
book
- search, takes parameters :
key
,?page
,?sort
- random
- Example
- get, takes parameters :
-
/hentaifox
: hentaifox api- get, takes parameters :
book
- search, takes parameters :
key
,?page
,?sort
- random
- Example
- get, takes parameters :
-
/asmhentai
: asmhentai api- get, takes parameters :
book
- search, takes parameters :
key
,?page
- random
- Example
- get, takes parameters :
-
/hentai2read
: hentai2read api- get, takes parameters :
book
- search, takes parameters :
key
- Example
- get, takes parameters :
-
/simply-hentai
: simply-hentai api- get, takes parameters :
book
- Example
- get, takes parameters :
Legal
This tool can be freely copied, modified, altered, distributed without any attribution whatsoever. However, if you feel like this tool deserves an attribution, mention it. It won't hurt anybody
Limitations
Sometimes nhentai has cloudflare ddos protection, If the IP against them You should implement a proxy.
Check cookie branch
or take look this workaround Zekfad/nhentai-api/issues/25#issuecomment-1141360074
Pronunciation
id_ID
• /jan·da/ — dewasa dan mengikat; (?)
Project showcase
- tomoe — A reliable doujinshi downloader with ease by sinkaroid
- Scathach bot — A doujinshi aggregator Discord bot by sinkaroid
- Or create your own
Client libraries / Wrappers
- janda Python wrapper by sinkaroid
- Or create your own