{"id":23201028,"url":"https://github.com/codedotjs/porn-hub","last_synced_at":"2025-08-18T23:32:57.456Z","repository":{"id":57327519,"uuid":"144531046","full_name":"CodeDotJS/porn-hub","owner":"CodeDotJS","description":":fire: :fire: Horny Porny Corny","archived":false,"fork":false,"pushed_at":"2018-08-13T05:11:29.000Z","size":5,"stargazers_count":30,"open_issues_count":1,"forks_count":6,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-12-17T08:14:28.874Z","etag":null,"topics":["porn","pornhub","pornhub-api","scrap"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeDotJS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-13T04:53:17.000Z","updated_at":"2024-06-21T06:05:47.000Z","dependencies_parsed_at":"2022-09-04T12:00:34.442Z","dependency_job_id":null,"html_url":"https://github.com/CodeDotJS/porn-hub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fporn-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fporn-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fporn-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fporn-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeDotJS","download_url":"https://codeload.github.com/CodeDotJS/porn-hub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230292741,"owners_count":18203649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["porn","pornhub","pornhub-api","scrap"],"created_at":"2024-12-18T15:13:40.973Z","updated_at":"2024-12-18T15:13:41.495Z","avatar_url":"https://github.com/CodeDotJS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\u003cbr\u003e\n\t\u003cb\u003e🅿 🅾 🆁 🅽 - 🅷 🆄 🅱\u003c/b\u003e\n\t\u003cbr\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cbr\u003e\n\t\u003ca href=\"https://travis-ci.org/CodeDotJS/porn-hub\"\u003e\u003cimg src=\"https://travis-ci.org/CodeDotJS/porn-hub.svg?branch=master\"\u003e\u003c/a\u003e\n\t\u003cimg src=\"https://img.shields.io/badge/code_style-XO-5ed9c7.svg\"\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003eℍ𝕆ℝℕ𝕐   ℙ𝕆ℝℕ𝕐   ℂ𝕆ℝℕ𝕐\u003c/h3\u003e\n\n\n\n### Install\n\n```\n$ npm install --save pornnhub\n```\n\n### Usage\n\n```js\nconst pornhub = require('pornnhub');\n\nconst url = 'https://www.pornhub.com/view_video.php?viewkey=ph56fc59c124c0c';\n\npornhub(url, 'title').then(res =\u003e {\n  console.log(res);\n  // =\u003e { data: 'Hot kissing scene' }\n});\n\n```\n\n```js\npornhub(url, 'views').then(res =\u003e {\n  console.log(res);\n  // =\u003e { data: '615,031' }\n});\n```\n\n```js\npornhub(url, 'low').then(res =\u003e {\n  console.log(res);\n  // =\u003e { data: 'https://cv.phncdn.com/videos/201603/30/../240P_400K_72472822.mp4?a5c..3d8' }\n});\n```\n\n### `API`\n\n#### __`pornhub(url, opts)`__\n\n\n__`typeof`__ `url`  __-__ __`string`__\n\n__`tyepof`__ `opt` __-__ __`string`__\n\n| __`opts`__ | __`get`__                  |\n|------------|----------------------------|\n| __`title`__      | `title of the porn`          |\n| __`views`__      | `total views on a video`     |\n| __`percent`__    | `popularity percentage`      |\n| __`upvotes`__    | `total upvotes on a video`   |\n| __`downvotes`__  | `total downvotes on a video` |\n| __`provider`__   | `video uploaded by`          |\n| __`low`__        | `240px downloadable url`     |\n| __`medium`__     | `480px downloadable url`     |\n| __`high`__       | `720px downloadable url`     |\n\n### Related\n\n- __[`phub`](https://github.com/CodeDotJS/phub)__ `:` `PornHub Informer`\n\n## License\n\nMIT - Copyright \u0026copy; [Rishi Giri](http://rishi.ml)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedotjs%2Fporn-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedotjs%2Fporn-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedotjs%2Fporn-hub/lists"}