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.1.tar.gz
(71.1 kB
view details)
Built Distribution
phub-4.4.1-py3-none-any.whl
(66.1 kB
view details)
File details
Details for the file phub-4.4.1.tar.gz
.
File metadata
- Download URL: phub-4.4.1.tar.gz
- Upload date:
- Size: 71.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2126f9a5c3bf16050e146f418d89fba96bb969553de065d80f539c3b85837f82 |
|
MD5 | 874c30ce1282e4e23fa6a11fb57a0069 |
|
BLAKE2b-256 | 88de39dbc6ec178fc17454c57c106b80e6b22888ebab6c119d195356610d2a59 |
File details
Details for the file phub-4.4.1-py3-none-any.whl
.
File metadata
- Download URL: phub-4.4.1-py3-none-any.whl
- Upload date:
- Size: 66.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27ca8351862e7611a9023b8b823c5a794c6714b8cd2722bf28239c68078b5c88 |
|
MD5 | f039f7b1e04722532bf032631c8123ab |
|
BLAKE2b-256 | 64618582636dadda7de760bfa856a46795c9b963a520213176cc446feafe2ae6 |