p-heaven
v1.1.1
Published
A simple easy scraper of Adult website
Downloads
17
Readme
p-heaven
Introduction
p-heaven
is an npm module that provides a simple and easy-to-use functions that will give u static and dynamic porn video links. With p-heaven
, you can easily chain, transform, and handle errors in your promises, making your code more readable and maintainable.
Installation
To install p-heaven
, simply run the following command:
npm install p-heaven
Usage
Using p-heaven
is easy. Simply require the module and start using its methods to work with promises. Here's an example:
const pHeaven = require('p-heaven');
pHeaven.dl('XNXX.PRESS_URL')
.then((result) => {
console.log(result); //it will give u static url of the video link from xnxx.press website
});
pHeaven.search('Japanese',2)
.then((result) => {
console.log(result); //It will search the category video links which u want and from which page ,By default search text is sex and page is 0
});
pHeaven.searchdl('Korean',1)
.then((result) => {
console.log(result); // It is combination of other two functions it will search and convert into static url of an full page
})
pHeaven.searchdlsingle('Russian',1)
.then((result) => {
console.log(result); // It is combination of other two functions it will search and convert into static url of one video (Randomly choose the video)
})
Contributing
Contributions to p-heaven are welcome! To contribute, please fork the repository, make your changes, and submit a pull request. Please make sure to include tests for any new functionality.
License :
p-heaven
is released under the MIT license.