This is the official funleaker core functions (beta) for Python. Users can now log in to their Syn account and use basic functions. This can be included in your web API app. This project is NSFW, and all results will return NSFW content. Please be aware.
Project description
SYN FUNLEAKER Library
This is the official funleaker core functions (beta) for Python. Users can now log in to their Syn account and use basic functions. This can be integrated into your web API app. Please be aware that this project is NSFW, and all results will return NSFW content.
Features
- Login: Log into your Syn account using your credentials.
- Token Management: Handles token management, storing, and clearing tokens locally.
- Leak Management: Allows scraping and fetching leaked content from supported platforms (OnlyFans, Fansly, Patreon).
- Logging: Includes verbose and low-level logging for detailed progress tracking.
- Rate Limiting: Implements rate limiting for requests to ensure you don't hit the API too frequently.
- Leaking Data: Ability to fetch leaked content in multiple formats such as JSON, XML, HTML, and text.
Installation
To install the funleaker library, follow the instructions below:
Using pip
-
Make sure you have
pipinstalled (for Python 3.7 or later). -
Install the library by running:
pip install funleaker
Usage
Importing the Library
You can import and use the library in your Python project as follows:
import funleaker
from funleaker import syn_utils
Initializing the syn_utils Class
Before interacting with Syn services, initialize the syn_utils class:
utils = syn_utils(lowLvlLog=True, showProgressBar=True)
Logging In
You need to log in to your Syn account using your username and password.
utils.login(username="your_username", password="your_password", saveTokenInDevice=True)
saveTokenInDevice: If set toTrue, the token will be saved in a local file for future sessions.
Performing a Leak Operation
To scrape leaked data from supported platforms, use the DoLeak method.
leak_data = utils.DoLeak(target="target_username", login_method="login", platform="onlyfans", deepth=5, LeakType="VisualLeaks", ReturnType="json", autoLeak=True)
Parameters:
target: The URL or identifier of the target creator.login_method: The method used to log in (e.g., "login").platform: The platform to scrape (e.g., "onlyfans", "fansly", "patreon").deepth: The depth of scraping (number of pages to fetch - 0, 50 , 100 , 150 etc..).LeakType: Type of leak data (e.g., "VisualLeaks" only this type (mode) for now).ReturnType: Format in which to return the leak data (e.g., "json", "text", "html", "xml").autoLeak: IfTrue, it automatically fetchs all posts.
Logging Out
To log out and clear cached tokens:
utils.logout()
Code Example
Here's an example usage of the syn_utils class:
from funleaker import syn_utils
# Initialize the utility class
utils = syn_utils(lowLvlLog=True, showProgressBar=True)
# Log into the Syn service
utils.login(username="your_username", password="your_password", saveTokenInDevice=True)
# Perform a data leak operation
leak_data = utils.DoLeak(target="creator_username", login_method="login", platform="onlyfans", deepth=10, LeakType="VisualLeaks", ReturnType="json", autoLeak=True)
# Log out
utils.logout()
Configuration
- Token Cache: By default, tokens are cached in the
token_cache.json(DO NOT SHARE IT TO ANYONE) file to avoid repeated logins. This can be disabled by passingsaveTokenInDevice=Falseduring login. - Rate Limiting: The
syn_utilsclass ensures that requests are rate-limited to avoid overloading the server. The rate limit is set to 1 request per second by default, but you can customize it if needed.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Disclaimer:
This project involves scraping NSFW content, and the use of this tool is only intended for appropriate, legal, and ethical purposes. The authors of this project do not take responsibility for the misuse of the software.
Warning:
This tool does not target or leak anything directly from the source, nor does it launch any kind of cyberattack or mass-promotion. Rather, it connects to publicly available sites that generally offer NSFW content. Again, we do not target any of the aforementioned platforms, nor does this tool solicit or send any requests to them.
Thank you for using funleaker! If you encounter any issues, feel free to open an issue in the repository.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file funleaker-1.4.4.tar.gz.
File metadata
- Download URL: funleaker-1.4.4.tar.gz
- Upload date:
- Size: 223.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cd9096f99658d5500f528b6daaefbf2338cbf1100f09a28173f4d8aee4939be
|
|
| MD5 |
9980abe2a033437217a306664723777f
|
|
| BLAKE2b-256 |
b18dfb8ebe5ddb096f4d5a292fbc4d6da5222d891c8912eae9d1e22c49c47a3e
|
File details
Details for the file funleaker-1.4.4-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: funleaker-1.4.4-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 126.8 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bfcf18dbf914c61178e2d9423d4dc06d51592d9189f20713c6f29d66e84c07c
|
|
| MD5 |
8c863804a0276167e931d8c723a18ef4
|
|
| BLAKE2b-256 |
82c664966a8444f89011630c23260fd3203c1051e2226eccb139d456d11dff7a
|