2.7.5 • Published 5 years ago

dabi-images v2.7.5

Weekly downloads
687
License
ISC
Repository
-
Last release
5 years ago

dabi-images

Pulls images from reddit and danbooru (more will be added in the future) Originally made for a discord bot

NPM Version

Installation

npm install dabi-images

How to use

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
});

Real

TagDescription
assgets ass pictures from reddit
thighsgets thigh pictures from reddit
pantiesgets pictures of girls in panties from reddit
randomgets random nsfw pictures from reddit

Hentai

TagDescription
assgets ass pictures from sites
thighsgets thighs from danbooru
pantiesgets panties from danbooru
feetgets feet from danbooru

Custom

SiteRegex
Provide Url to a websiteregex pattern ( ͡° ͜ʖ ͡°) (e.g: /"file-url":".*?"/gm)

Change Log

  • Added "gelbooru" to hentai's "ass" source

Todo

  • Add "gelbooru" to the rest of hentai sources
  • Add "random" to hentai
  • Add more sources to hentai and real images (preferably higher quality)

Support

Discord Username: Ena 𓅓#1328
2.7.5

5 years ago

2.7.3

5 years ago

2.7.0

5 years ago

2.6.6

5 years ago

2.6.5

5 years ago

2.6.4

5 years ago

2.6.3

5 years ago

2.6.2

5 years ago

2.5.2

5 years ago

2.5.1

5 years ago

2.4.1

5 years ago

2.4.0

5 years ago