Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pornnhub

CodeDotJS55MIT1.0.0

Horny Porny Corny

porn, title, views, upvotes, downvotes, fetch, extract, download, url, high definition, api

readme


🅿 🅾 🆁 🅽 - 🅷 🆄 🅱


ℍ𝕆ℝℕ𝕐 ℙ𝕆ℝℕ𝕐 ℂ𝕆ℝℕ𝕐

Install

$ npm install --save pornnhub

Usage

const pornhub = require('pornnhub');

const url = 'https://www.pornhub.com/view_video.php?viewkey=ph56fc59c124c0c';

pornhub(url, 'title').then(res => {
  console.log(res);
  // => { data: 'Hot kissing scene' }
});
pornhub(url, 'views').then(res => {
  console.log(res);
  // => { data: '615,031' }
});
pornhub(url, 'low').then(res => {
  console.log(res);
  // => { data: 'https://cv.phncdn.com/videos/201603/30/../240P_400K_72472822.mp4?a5c..3d8' }
});

API

pornhub(url, opts)

typeof url -__ __string

tyepof opt -__ __string

opts get
title title of the porn
views total views on a video
percent popularity percentage
upvotes total upvotes on a video
downvotes total downvotes on a video
provider video uploaded by
low 240px downloadable url
medium 480px downloadable url
high 720px downloadable url
  • phub : PornHub Informer

License

MIT - Copyright © Rishi Giri