Metadata-Version: 2.1
Name: phub
Version: 3.2
Summary: An API for PornHub
Home-page: https://github.com/Egsagon/PHUB/
Author: Egsagon
Author-email: egsagon12@gmail.com
License: GPLv3
Platform: unix
Platform: linux
Platform: win32
Platform: cygwin
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3.11
Classifier: Intended Audience :: Education
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests >=2
Requires-Dist: tqdm >=4
Requires-Dist: click >=8

.. 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')
