Multiple Site Provider and Asynchronous API in Python
Project description
Scrapper Porn API for Python
Homepage
•
Releases
•
News
PyPorn
Multiple Site Provider and Asynchronous API in Python
from pyPorn import PyPorn
from pyPorn.enums import Provider
from pyPorn.exception import PyPornError
pyPorn = PyPorn(
apiToken="YOUR_API_TOKEN",
secret="YOUR_SECRET"
)
try:
content = pyPorn.getContent(Provider.XNXX, "video-u10yx0f....")
except PyPornError as e:
print(e)
return
else:
print(content)
Installation
pip3 install pyPorn
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyporn-1.0.6.tar.gz
(7.8 kB
view hashes)