Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 761 Bytes

pypi.md

File metadata and controls

30 lines (21 loc) · 761 Bytes

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