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
Close
Hashes for pornhub-api=sskender-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8c304c0645602f64bbf7cf02d09aae9db6179dbbb238d94fb841c0a80a10b4e |
|
MD5 | bbefe6a7e12d829541d264737efd7b14 |
|
BLAKE2b-256 | ec6606d317de48a462cad59f5e12feca53327bfdd668ddf5602ac20f428920e4 |
Close
Hashes for pornhub_api_sskender-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93446aac20cbc9627f7b4340ed16c0644832bc3791ed6b1ffb20b77c075d8deb |
|
MD5 | 8b796e75fcaab3e4bfeed15ed688242a |
|
BLAKE2b-256 | 4e12336776bfeed3d2300a9f9fcc1f84c8a31009cbad247dfba3caa704acd4ad |