Skip to main content

An API for Pornhub

Project description

PHUB - An API wrapper for PornHub.

PHUB is a 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.4.3.tar.gz (71.4 kB view details)

Uploaded Source

Built Distribution

phub-4.4.3-py3-none-any.whl (66.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phub-4.4.3.tar.gz
Algorithm Hash digest
SHA256 ff872a8ec511a5409b51e745b77f29b29274351a9fda05f0f65c1b1288b00e05
MD5 0be32538ab4b4bfd9560241c50784b6c
BLAKE2b-256 2754892ff2a81f4d7b2bc76c77119433eae035d0f9c471f1f85a72e192c597b6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for phub-4.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f807e3e4bc2371a1abb7ce875ef009dc719b3c9cc277f4399fa4a7facd32c5e0
MD5 f5ee2fc63f958bc4becba967ef4073d0
BLAKE2b-256 ea6f119c585e5db3bf8a5cd34eefd630e823573facd0cf234c800fb4d01261d7

See more details on using hashes here.

Supported by

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