New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@justalk/pornhub-api

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@justalk/pornhub-api - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

1

index.js

@@ -42,3 +42,2 @@ 'use strict';

const error_message = error => {
console.log(error);
if (error) {

@@ -45,0 +44,0 @@ error.message = constants.errors.DEFAULT;

3

package.json
{
"name": "@justalk/pornhub-api",
"version": "3.0.0",
"version": "3.0.1",
"description": "Very complete scrapper for the famous porn website pornhub",

@@ -43,2 +43,3 @@ "license": "MIT",

"coveralls": "^3.1.0",
"nock": "^13.0.4",
"nyc": "^15.1.0",

@@ -45,0 +46,0 @@ "xo": "*"

@@ -10,2 +10,3 @@ # PORNHUB API

![Last version](https://img.shields.io/github/license/justalk/pornhub-api.svg?style=flat-square)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square)](https://github.com/xojs/xo)

@@ -30,3 +31,2 @@ ![Star the project](https://img.shields.io/github/stars/justalk/pornhub-api?style=social)

## API

@@ -65,3 +65,3 @@

| number_of_comment | Number | Total number of comments |
| thumbnail | String | Url of the thumbnail |
| thumbnail_url | String | Url of the thumbnail |
| upload_date | Date | Date of upload |

@@ -220,2 +220,5 @@ | download_urls | Object | List of download link by quality |

The tests are not execute on pornhub directly, the calls to pornhub are all mock with `nock` to save html page of pornhub.
It has been done for having page that wont evolve through time. By example, if a comment is added on the real link, the tests will still be ok.
### Note

@@ -222,0 +225,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc