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.1.tar.gz
(63.1 kB
view details)
Built Distribution
phub-4.1-py3-none-any.whl
(56.6 kB
view details)
File details
Details for the file phub-4.1.tar.gz
.
File metadata
- Download URL: phub-4.1.tar.gz
- Upload date:
- Size: 63.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 | a06452b951dfe15835d9d7f6c631a68c03aad078d2a8ce2922d01691400453dc |
|
MD5 | 73f89f318c9acb55692a1e47c044d9eb |
|
BLAKE2b-256 | e04626a9dc4e4ba6385f80011372a0a81fa418b3a2463850fcd3408a94336f40 |
File details
Details for the file phub-4.1-py3-none-any.whl
.
File metadata
- Download URL: phub-4.1-py3-none-any.whl
- Upload date:
- Size: 56.6 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 | 0f746dbf153df3b747210b73c8e210e79d6e4245dd02acd503e4722db2c54369 |
|
MD5 | 1cea4ab551dfbf930ca330ab38cfdd45 |
|
BLAKE2b-256 | 144a0dfe5495246ac8fb4b27ac9c4f5851c9f43424a23d7e58e316f1f350f47b |