This project has been archived by its maintainers, and is no longer receiving any updates.
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.
Features
- Fetch Pin information
- Download Pins
- Fetch users
- Fetch Comments
- Fetch Boards
- Asynchronous
Network Features
- HTTP 2.0 / HTTP 3.0
- Browser impersonation
- Custom JA3
- All proxy types
- Proxy authentication
- Speed Limit
- DNS over HTTPS
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_apifor the latest fixes / features
from sex_api import Client
async def do_something():
client = Client()
# Fetch a Pin
pin = await client.get_pin("<URL>")
await pin.download("<PATH (Directory)>")
# Print some attributes:
print(pin.name)
print(pin.publish_date) # See Docs for more
# Fetch a User:
user = await client.get_user("URL")
# Get users Pins:
pins = user.get_pins()
async for pin in pins:
print(pin.name)
pins_liked = user.get_liked_pins()
async for pin in pins_liked:
print(pin.name)
async 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.
Support (Donations)
I am developing all my projects entirely for free. I do that because I have fun and I don't want to charge 30€ like other people do.
However, if you find my work useful, please consider donating something. A tiny amount such as 1€ means a lot to me.
Paypal: https://paypal.me/EchterAlsFake
XMR (Monero): 42XwGZYbSxpMvhn9eeP4DwMwZV91tQgAm3UQr6Zwb2wzBf5HcuZCHrsVxa4aV2jhP4gLHsWWELxSoNjfnkt4rMfDDwXy9jR
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–2026 Johannes Habel
Metadata
Release files for Sex_API 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sex_api-2.0.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sex_api-2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.5 kB
Release files / sex_api-2.0.tar.gz
| Download URL | sex_api-2.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fee15fda16517c22dd427f44f94af0faf64643f70d90480d3e7e9250f69a0ea1
|
|
BLAKE2b-256 checksum How to use checksums |
dff0c4d695ecc77f45679302d2c85d92f2f2bf5991e172b9a8f4f24fb7f5a36e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / sex_api-2.0-py3-none-any.whl
| Download URL | sex_api-2.0-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7426b436724b75e086e41e5798196d9344cdc2f98472ff9557bb3d9491fee171
|
|
BLAKE2b-256 checksum How to use checksums |
5bc226c349d6d6077a13cd03d125db406d2f1f154598e77b5b579274453709df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|