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.5.2.tar.gz
(70.4 kB
view details)
Built Distribution
phub-4.5.2-py3-none-any.whl
(65.6 kB
view details)
File details
Details for the file phub-4.5.2.tar.gz
.
File metadata
- Download URL: phub-4.5.2.tar.gz
- Upload date:
- Size: 70.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be724506b76893b1f5cab6d5f81defa4e9cee9f0bcda38fd304e37874318d64f |
|
MD5 | b6d31e0e6628196e2b43daa3f61f8fa0 |
|
BLAKE2b-256 | 3e902f282fe74a81c85d6bac856736d16f47c6172c4ce8c9d313853f20bb5a82 |
File details
Details for the file phub-4.5.2-py3-none-any.whl
.
File metadata
- Download URL: phub-4.5.2-py3-none-any.whl
- Upload date:
- Size: 65.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b1117c08cecb492bdab8534e4e74a453932621a3f8392555e2ee9ed9b665522 |
|
MD5 | b8b086e43181f8d3c762ef1b73dd5d4f |
|
BLAKE2b-256 | 0efd0c9f9b5b7cd7dea6b3227d2d765d4e3de94a42c3892fe1c6c102be33c347 |