Metadata-Version: 2.1
Name: phub
Version: 3.2.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

<p align="center">
  <img src="https://github.com/Egsagon/PHUB/blob/master/assets/banner.png?raw=true">
</p>

# 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](https://phub.readthedocs.io) and
[github page](https://github.com/Egsagon/PHUB).

## Installation

Dependencies: `requests`, `click`, `tqdm`

```sh
pip install -U phub
```

Or, development branch:
```sh
pip install -U git+https://github.com/Egsagon/PHUB.git`
```

## Exemple usage

```python
import phub

client = phub.Client()

video = client.get(url = '...')
video.download('my-video.mp4', quality = 'best')
```
