Pulls images from reddit and danbooru (more will be added in the future) Originally made for a discord bot
npm install dabi-images
const DabiImages = require("dabi-images");
const DabiClient = new DabiImages.Client();
// getting real images
DabiClient.nsfw.real.ass().then(json => {
console.log(json);
// outputs data with image url, possible source and other stuff
}).catch(error => {
console.log(error);
// outputs error
});
// getting hentai images
DabiClient.nsfw.hentai.ass().then(json => {
console.log(json);
// outputs data with image url, possible source and other stuff
}).catch(error => {
console.log(error);
// outputs error
});
// custom request
DabiClient.custom.do("https://google.com/", /<meta.*?>/gm).then(matches => {
console.log(matches);
// outputs an array of all matches
}).catch(error => {
console.log(error);
// outputs error
});
Tag | Description |
---|---|
ass | gets ass pictures from reddit |
thighs | gets thigh pictures from reddit |
panties | gets pictures of girls in panties from reddit |
random | gets random nsfw pictures from reddit |
Tag | Description |
---|---|
ass | gets ass pictures from sites |
thighs | gets thighs from danbooru |
panties | gets panties from danbooru |
feet | gets feet from danbooru |
Site | Regex |
---|---|
Provide Url to a website | regex pattern ( ͡° ͜ʖ ͡°) (e.g: /"file-url":".*?"/gm) |
- Added "gelbooru" to hentai's "ass" source
- Add "gelbooru" to the rest of hentai sources
- Add "random" to hentai
- Add more sources to hentai and real images (preferably higher quality)
Discord Username: Ena 𓅓#1328