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.5.3.tar.gz (72.1 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.5.3-py3-none-any.whl (68.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phub-4.5.3.tar.gz
Algorithm Hash digest
SHA256 01885f970c5541ae350c38a7c5d087cf7cf8a1a2e9c1db8deae1e2b05ae62934
MD5 3a6f875a6a4d350ba11a94cd7327bdbd
BLAKE2b-256 21862427b8a295099decf6e5a75552d89158bd0634c6194334c0d134569a39ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phub-4.5.3-py3-none-any.whl
  • Upload date:
  • Size: 68.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.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 15b7f102acd04b8643b8bb98bf8c92fe7d850a47835d39a3e5dee2e599589879
MD5 4de416abf580ba5024629c0d1f36ec5e
BLAKE2b-256 70db4a621756f57f08607ebc658bd72edcef0d2e1f445bdd4a92036204878d5a

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