Skip to main content

An API for PornHub

Project description

.. image https://github.com/Egsagon/PHUB/blob/master/assets/banner.png

========================== 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_.

.. _documentation: https://phub.readthedocs.io .. _github page: https://github.com/Egsagon/PHUB

Installation ^^^^^^^^^^^^

Dependencies: requests, click, tqdm

Install: pip install -U phub Or (dev) pip install -U git+https://github.com/Egsagon/PHUB.git

Quick usage ^^^^^^^^^^^

.. code-block:: python

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.1.4.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

phub-3.1.4-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phub-3.1.4.tar.gz
Algorithm Hash digest
SHA256 1f2a716bebcf4539afc05429b5b96a9ddcb3bac25223e07d3063810ceeb78c99
MD5 565ba9278e86c361f097bb7529a58cca
BLAKE2b-256 ec2b32095c76015b97c85b59a9fc9a86536a815ffb21c18964abd307f7389ce8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for phub-3.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6c025a9fb1ca95265a1d09aa61bd74470061813fc3b0fee943d5a734d6ca91a9
MD5 ded554b9e406a714d511c9ca69e378f1
BLAKE2b-256 67d9aa410df3e71e205b147fbd847c2e3f9e4ffff91c944cdd3f97b47a17ada3

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