https://github.com/kazedevid/nsfw-images
grabs images from websites
https://github.com/kazedevid/nsfw-images
Last synced: 11 months ago
JSON representation
grabs images from websites
- Host: GitHub
- URL: https://github.com/kazedevid/nsfw-images
- Owner: KazeDevID
- Created: 2023-03-28T06:26:11.000Z (over 3 years ago)
- Default Branch: nsfw-images
- Last Pushed: 2023-04-09T14:49:01.000Z (about 3 years ago)
- Last Synced: 2024-11-24T20:08:15.150Z (over 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nsfw-images
> Pulls images from reddit and danbooru (more will be added in the future)
> Originally made for a discord bot
### Installation
```
npm install nsfw-images
```
## How to use
```js
const Nsfw = require("nsfw-images");
const KazeClient = new Nsfw.Client();
// getting real images
KazeClient.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
KazeClient.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
KazeClient.custom.do("https://google.com/", //gm).then(matches => {
console.log(matches);
// outputs an array of all matches
}).catch(error => {
console.log(error);
// outputs error
});
```
### Real
| 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 |
### Hentai
| Tag | Description |
|:---:|:-----------:|
| ass | gets ass pictures from sites|
| thighs | gets thighs from danbooru |
| panties | gets panties from danbooru |
| feet | gets feet from danbooru |
### Custom
| Site | Regex |
|:----:|:-----:|
| Provide Url to a website | regex 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
[ GITHUB ]: https://github.com/KazeDevID/