Skip to main content

An API for PornHub

Project description

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

========================== 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.2.tar.gz (33.8 kB view hashes)

Uploaded Source

Built Distribution

phub-3.2-py3-none-any.whl (35.5 kB view hashes)

Uploaded Python 3

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