An API for Pornhub
Project description
PHUB - An API wrapper for PornHub.
PHUB is an 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.0b0.tar.gz
(59.6 kB
view details)
Built Distribution
phub-4.0b0-py3-none-any.whl
(53.0 kB
view details)
File details
Details for the file phub-4.0b0.tar.gz
.
File metadata
- Download URL: phub-4.0b0.tar.gz
- Upload date:
- Size: 59.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e47a9e13949c36ac44fef8b46990566ada8bc477099565b542d8fbfa4c20249 |
|
MD5 | 7e370ea6b768b9a6ab74b1fa569918dd |
|
BLAKE2b-256 | ebfe1c7387a627f60271719df3baddcf3c417e6609f383ba3a1db83d8f594d33 |
File details
Details for the file phub-4.0b0-py3-none-any.whl
.
File metadata
- Download URL: phub-4.0b0-py3-none-any.whl
- Upload date:
- Size: 53.0 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 | c98563cfce30697af5620324ad775b5dd8da62b5374ff59558303a68fecd78b4 |
|
MD5 | f577d2e02cd7fa5d4f11d9735467be79 |
|
BLAKE2b-256 | 67492d2498f80dd63731d571c4b8053c763c92695d7370450307ed6fda9f3ccd |