Unofficial API for pornhub.com in Python
Project description
PornHub Unofficial API
Unofficial API for pornhub.com in Python
Usage
Create client
import pornhub
client = pornhub.PornHub()
Create client with proxy
import pornhub
client = pornhub.PornHub("5.135.164.72", 3128)
#With proxy, given a Proxy IP and Port. For the countries with restricted access like Turkey, etc.
Grab stars
for star in client.getStars(10):
print(star)
print(star["name"])
Create client with search keywords
keywords = ["word1", "word2"]
client = pornhub.PornHub(keywords)
for video in client.getVideos(10,page=2):
print(video)
print(video["url"])
License
MIT license
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pornhub-api=sskender-0.0.1.tar.gz.
File metadata
- Download URL: pornhub-api=sskender-0.0.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8c304c0645602f64bbf7cf02d09aae9db6179dbbb238d94fb841c0a80a10b4e
|
|
| MD5 |
bbefe6a7e12d829541d264737efd7b14
|
|
| BLAKE2b-256 |
ec6606d317de48a462cad59f5e12feca53327bfdd668ddf5602ac20f428920e4
|
File details
Details for the file pornhub_api_sskender-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pornhub_api_sskender-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93446aac20cbc9627f7b4340ed16c0644832bc3791ed6b1ffb20b77c075d8deb
|
|
| MD5 |
8b796e75fcaab3e4bfeed15ed688242a
|
|
| BLAKE2b-256 |
4e12336776bfeed3d2300a9f9fcc1f84c8a31009cbad247dfba3caa704acd4ad
|