![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@justalk/pornhub-api
Advanced tools
Scraper for PornHub. Unlike others scrapers, it's working in 2020 August with their new website. It allows you to get any informations out of any page and to get the download links.
npm install module-name
async page(url, options)
name | type | description |
---|---|---|
url | String | url of the page |
options | Array or String if there is only one option | List of the options |
name of option | return type | description |
---|---|---|
title | String | Title |
description | String | Description |
views | Number | Number total of views |
up_votes | Number | Number of up vote |
down_votes | Number | Number of down vote |
percent | Number | Percent of up vote |
author | String | Name of the uploader |
author_subscriber | Number | Number of subscriber of the uploader |
pornstars | Array | Names of the pornstars |
categories | Array | List of the names of the categories |
tags | Array | List of the names of the tags |
production | String | Type of production |
duration | Number | Duration in second |
number_of_comment | Number | Total number of comments |
thumbnail | String | Url of the thumbnail |
upload_date | Date | Date of upload |
download_urls | Object | List of download link by quality |
comments | Object | List of comments with additionnals informations |
async search(value)
name | type | description |
---|---|---|
value | String | value search in pornhub |
options | Array or String if there is only one option | List of the options |
name of option | return type | description |
---|---|---|
page_X | String | X specify the number of page search to scrap |
related_search | Array | The related search |
related_pornstars | Array | The related pornstars |
const video = await module-name.page(url, ['title']);
{
"title": "Name of the video"
}
const video = await module-name.page(url, ['title','description']);
{
"title": "Name of the video",
"description": "Description of the video"
}
const video = await module-name.page(url, ['title','pornstars','download_urls']);
{
"title": "Title of the video",
"pornstars": ["Sophie A","Rocco B"],
"download_urls": {
"720" : "https://p.com/link1",
"480" : "https://p.com/link2",
"360" : "https://p.com/link3"
}
}
const video = await module-name.page("Aa");
[{
"link": "https://p.com/link1",
"title": "Title of the video",
"hd": true,
"author": "Robert",
"duration": 13000,
"views": 1200,
"premium": true,
"rating": 80
},{
"link": "https://p.com/link2",
"title": "Title of the video",
"hd": false,
"author": "Ggegwg",
"duration": 5120,
"views": 120,
"premium": false,
"rating": 60
}]
For testing, install the node project and run the test command.
node install
npm test
Also, you can use the command under for running the test without the linter
npm run test-no
MIT - Copyright © JUSTAL Kevin
FAQs
Very complete scrapper for the famous porn website pornhub
The npm package @justalk/pornhub-api receives a total of 0 weekly downloads. As such, @justalk/pornhub-api popularity was classified as not popular.
We found that @justalk/pornhub-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.