Skip to main content

An API for PornHub

Project description

PHUB - An API for PornHub.

PHUB is an API wrapper for Pornhub (PH). It is able to communicate with most used PH features such as video searching, downloading, account connection, etc.

Learn more on the project documentation and github page.

Installation

Dependencies: requests, click, tqdm

pip install -U phub

Or, development branch:

pip install -U git+https://github.com/Egsagon/PHUB.git`

Exemple usage

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-3.2.1.post2.tar.gz (33.7 kB view details)

Uploaded Source

Built Distribution

phub-3.2.1.post2-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

Details for the file phub-3.2.1.post2.tar.gz.

File metadata

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

File hashes

Hashes for phub-3.2.1.post2.tar.gz
Algorithm Hash digest
SHA256 9ec786f8fc23c449fa091095e21cf2c2a5c9a4c090c837052b4369473dcdf934
MD5 8f871d2f442961207399becb0d5c2c7c
BLAKE2b-256 f452f5c7011da81bf66aaf800b19ac7b0fa3d7eabce078d5193cc4be729afa8d

See more details on using hashes here.

File details

Details for the file phub-3.2.1.post2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for phub-3.2.1.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 28cc37e02b3781ab13ef3fd80a39f2ffd0ffefe172df3ea4c2a1ce6cf9d9a9c7
MD5 2cdce2dfe5f8e5b517f31c10a82bda2a
BLAKE2b-256 4c303ec1967e142dff0e3369302c18ac4b7ee57da3aff5c097cf5d366ccf9958

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