Easy way to search for porn content
const pornsearch = require('pornsearch');
const pornhub = pornsearch.load('pornhub');
pornhub.videos('boobs')
.then(response => console.log(response));
pornhub.gifs('pov')
.then(response => console.log(response));
Site - Module name | Videos | Gifs |
---|---|---|
pornhub | X | X |
sex | X | X |
redtube | X | |
xvideos | X |
What will return in video search
Site - Module name | URL | Thumbnail | Duration |
---|---|---|---|
pornhub | X | X | X |
sex | X | X | X |
redtube | X | X | X |
xvideos | X | X | X |
What will return in gif search
Site - Module name | URL | WEBM |
---|---|---|
pornhub | X | X |
sex | X |
Via GIT:
$ git clone git://github.com/LucasLeandro1204/api.git node_modules/pornsearch
Via NPM:
$ npm install pornsearch
If has success, the return will be an array with videos, structured as
{
title: 'video title',
url: 'video url',
duration: 'video duration',
thumb: 'video thumbnail'
}
If has error, will be returned a message like
No results for search related to *relation* in page *page* and category number *number*
Check the support table to know exactly what will be returned
If has success, the return will be an array with gifs, structured as
PORNHUB gifs in general are extremely heavy, so be a nice person and share webm (sex.com gifs are nice)
{
title: 'gif title',
url: 'gif url',
webm: 'gif webm url'
}
If has error, will be returned a message like
No results for search related to *relation* in page *page*
Check the support table to know exactly what will be returned
First require Pornsearch
const pornsearch = require('pornsearch');
Then pass the website you want to search on (like 'pornhub')
const pornhub = pornsearch.load('pornhub');
Check the support table to know what you can do
An error will be thrown if don't support
Search for related only
pornhub.videos('boobs')
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
});
pornhub.gifs('pussy')
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
});
Specify the page number to search on
pornhub.videos('ass', 3);
pornhub.gifs('teta', 7);
Log only url
pornhub.gifs('teen')
.then((gifs) => {
console.log(gifs.map(gif => gif.url));
});