A Python API for the Porn Site Sex.com/pins
Project description
Sex.com API
Description
Sex API is a Python API dedicated to Sex.com/pins. It allows you to download Pins, fetch information about Pins, Users and Boards. You can also perform a search with filters.
[!IMPORTANT] The Sex API is in violation of the Terms of Services of Sex.com. Usage is on your own risk! This API is related to sex.com/pins. This API does NOT support downloading videos from Sex.com nor video clips from sex.com/pins. The Videos are DRM locked, and the video clips need Javascript to be loaded.
Quickstart
Have a look at the Documentation for more details
- Install the library with
pip install sex_api
- Or with:
pip install git+https://github.com/EchterAlsFake/sex_api
for the latest fixes / features
from sex_api.api import Client
client = Client()
# Fetch a Pin
pin = client.get_pin("<URL>")
pin.download("<PATH (Directory)>")
# Print some attributes:
print(pin.name)
print(pin.publish_date) # See Docs for more
# Fetch a User:
user = client.get_user("URL")
# Get users Pins:
pins = user.get_pins()
pins_liked = user.get_liked_pins()
for pin in pins:
pin.download("<path>")
# .......
# The features are nearly endless. See Documentation for more :)
[!NOTE] Sex API can also be run from the command line. Just execute: "sex_api -h" to get started.
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
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
File details
Details for the file Sex_API-1.2.tar.gz
.
File metadata
- Download URL: Sex_API-1.2.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73637cd7f94a835fdbdcbec819135dc08b6e36a36a716b8f173015c78fdd01cc |
|
MD5 | 63504fe1a8b8231cf200aa156fdcf0d4 |
|
BLAKE2b-256 | c808bdaefd9f795082cdf30e49e0697adbac470c0bf51bf796f75fc920dd09cd |
File details
Details for the file Sex_API-1.2-py3-none-any.whl
.
File metadata
- Download URL: Sex_API-1.2-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02f5463918dab3a335cc9ac3cee4c9d7fe1c482e29dfa0b147169065ced99d5d |
|
MD5 | 4e3b4a80ab15dcd5febf3b4f45d59125 |
|
BLAKE2b-256 | e68417f625075ddd3f0d7cf2d66568494cdb33770bddc2a736e78026f705a753 |