Skip to main content

An API for Pornhub

Project description

PHUB - An API wrapper for PornHub.

PHUB is an hybrid API for Pornhub. It is able to communicate with Pornhub using both web-scraping and Pornhub's HubTraffic API. It is able to access most used or useful PH features, such as video searching, accessing account features, video downloading, and a lot more.

Learn more on the project documentation and github page.

Installation

pip install --upgrade phub

Quickstart

import phub

client = phub.Client()

video = client.get(url = '...')
video.download('my-video.mp4', quality = 'best')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phub-4.0.tar.gz (60.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phub-4.0-py3-none-any.whl (53.8 kB view details)

Uploaded Python 3

File details

Details for the file phub-4.0.tar.gz.

File metadata

  • Download URL: phub-4.0.tar.gz
  • Upload date:
  • Size: 60.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for phub-4.0.tar.gz
Algorithm Hash digest
SHA256 f3653d7afee4b36f79927fc71a8ef50710b0c274f37028c5f32b52f49c08b24b
MD5 ec599c4ffccd03990e43fc637b0605a1
BLAKE2b-256 3d6604d485e918456a8d11fc19b4f3db85c9e8b2dc939e04f068fef42fe3cf60

See more details on using hashes here.

File details

Details for the file phub-4.0-py3-none-any.whl.

File metadata

  • Download URL: phub-4.0-py3-none-any.whl
  • Upload date:
  • Size: 53.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for phub-4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9dcf4e6109b7e14abad22b7fffb4bb87b8e0fde25560c77ffde608639b17248b
MD5 8ab8215160b1d5cbc50dd6307ceac29d
BLAKE2b-256 0630777298e48cec440b632b673441d7ae31271065ec2afa29639725880491e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page