An API for Pornhub
Project description
PHUB - An API wrapper for PornHub.
PHUB is a hybrid API for Pornhub. It is able to communicate with Pornhub using both web-scraping and Pornhub's HubTraffic API. It is able to access most used or useful PH features, such as video searching, accessing account features, video downloading, and a lot more.
Learn more on the project documentation and GitHub page.
Installation
pip install --upgrade phub
Quickstart
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-4.4.3.1.tar.gz
(71.4 kB
view hashes)
Built Distribution
phub-4.4.3.1-py3-none-any.whl
(66.4 kB
view hashes)