A Python API for the Porn Site xnxx.com
Project description
XNXX API
Description
XNXX API is an API for xnxx.com. It allows you to fetch information from videos using regexes and requests.
Disclaimer
[!IMPORTANT] XNXX API is in violation to the ToS of xnxx.com! If you are the website owner of xnxx.com, contact me at my E-Mail, and I'll take this repository immediately offline. EchterAlsFake@proton.me
Quickstart
Have a look at the Documentation for more details
- Install the library with
pip install xnxx_api
from xnxx_api import Client, Quality, threaded, default, FFMPEG
# Initialize a Client object
client = Client()
# Fetch a video
video_object = client.get_video("<insert_url_here>")
# Information from Video objects
print(video_object.title)
print(video_object.likes)
# Download the video
video_object.download(downloader=threaded, quality=Quality.BEST, path="your_output_path + filename")
# SEE DOCUMENTATION FOR MORE
[!NOTE] XNNX API can also be used from the command line. Do: xnxx_api -h to see the options
Changelog
See Changelog for more details.
Contribution
Do you see any issues or having some feature requests? Simply open an Issue or talk in the discussions.
Pull requests are also welcome.
License
Licensed under the LGPLv3 License
Copyright (C) 2023–2024 Johannes Habel
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
Built Distribution
File details
Details for the file xnxx_api-1.4.3.tar.gz
.
File metadata
- Download URL: xnxx_api-1.4.3.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83fd1d11f7e712389be2c849d491c19e74101e2fec52b0daa912811a964c8182 |
|
MD5 | bd5de4f3f092c4dceb87a295c0720198 |
|
BLAKE2b-256 | ec3f97cd9fa89fcb0932b6db81bb1bb558d3ea85f5884bcdb617d16fc89c8452 |
File details
Details for the file xnxx_api-1.4.3-py3-none-any.whl
.
File metadata
- Download URL: xnxx_api-1.4.3-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32835ac04013e167fb70b0cdd8731fa27778950a542d014bad5e8a49a5393677 |
|
MD5 | 9372a0bbda6f081cc1bb190e4fec1e4d |
|
BLAKE2b-256 | 552c920ed969c228167691dc80f1b92efa0be68b1585c59c25bcc92ae67b5139 |