Metadata-Version: 2.1
Name: pyPorn
Version: 1.0.2
Summary: Multiple Site Provider and Asynchronous API in Python
Home-page: https://github.com/AyiinXd/pyPorn
Download-URL: https://github.com/AyiinXd/pyPorn/releases/latest
Author: AyiinXd
Author-email: ayiin@gotgel.org
License: MIT
Project-URL: Tracker, https://github.com/AyiinXd/pyPorn/issues
Project-URL: Community, https://t.me/AyiinProjects
Project-URL: Source, https://github.com/AyiinXd/pyPorn
Keywords: api scrapper library python pornhub
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet
Classifier: Topic :: Communications
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: ~=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiofiles
Requires-Dist: httpx

<p align="center">
    <b>Scrapper Porn API for Python</b>
    <br>
    <a href="https://github.com/AyiinXd/pyPorn">
        Homepage
    </a>
    •
    <a href="https://github.com/AyiinXd/pyPorn/releases">
        Releases
    </a>
    •
    <a href="https://t.me/AyiinChats">
        News
    </a>
</p>

## PyPorn

> Multiple Site Provider and Asynchronous API in Python

``` python
from pyPorn import PyPorn
from pyPorn.enums import Provider
from pyPorn.exception import PyPornError

pyPorn = PyPorn("YOUR_API_TOKEN")

try:
    content = pyPorn.getContent(Provider.XNXX, "video-u10yx0f....")
except PyPornError as e:
    print(e)
    return
else:
    print(content)
```


### Installation

``` bash
pip3 install pyPorn
```


### License

[MIT License](https://github.com/AyiinXd/pyPorn/blob/master/LICENSE)
