Skip to main content

An API for PornHub

Project description

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.

Installation

Dependencies: requests, click, tqdm

pip install -U phub

Or, development branch:

pip install -U git+https://github.com/Egsagon/PHUB.git`

Exemple usage

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

Uploaded Source

Built Distribution

phub-3.2.2-py3-none-any.whl (35.1 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