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
Release history Release notifications | RSS feed
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)
Built Distribution
phub-3.2-py3-none-any.whl
(35.5 kB
view hashes)