Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Explanation of provided programs & their functionality

Mika C edited this page Feb 28, 2022 · 39 revisions

This repository is currently maintaining 3 programs & a configuration file called config.ini. Each of those components is described closer in the following.


1. Fansly Scraper

Supports Windows, Linux & macOS

This is the main program, its job is to scrape a fansly creators profile & messages for media content. When booted up, it will try to read a configuration file called config.ini, which needs to have specific information that allows fansly scraper to run directly through your fansly account and have access to the content that your account has access to (stuff that you bought / that is only available to your account for whatever reason). This is why it is important for you to make sure your configuration file is properly set up. You can read more about it to Get Started. Essentially it logs into your account, pretending you are browsing fansly, but actually it's downloading each media content one by one(intentionally not threading, because of fanslys rate limit), while on Fanslys network traffic it looks like you are basically scrolling down forever, loading every image / video one by one. An authentication token is required for this program to do its job, due to the way the fansly API is working.


2. Automatic Configurator

Supports ONLY Windows & You to have to have recently logged into fansly in any of the following browsers: Chrome, FireFox, Opera, Brave or Microsoft Edge and one of those browsers has to be set as your default browser in windows settings

This is a sophisticated, but invasive, way to automatically get your account's authentication token out of your browser. If it is successful, it will overwrite the config.ini file with the required token & user agent to run fansly scraper, for you. Afterwards, all you'll have to do is open config.ini and type in your targeted fansly creators username into it & save the file.

Under circumstances the configurator might close your browser, so please make sure you have saved any important work before you launch it.

The way this program works is by first checking, your default browsers local storage. This is the place where fansly saves their authentication tokens, which are definitely required for fansly scraper to run. If it finds the required data (authentication token); it will save it to the configuration file (config.ini), together with the newest Google Chrome user agent, regardless if you are using chrome or not. If it does not find the token there, it will check your browser's website account:password storage (for fansly.com), to see how many fansly accounts you have saved there. If you have only one saved, it will automatically log itself in, with the acc:pw combo and generate an authentication token that way & afterwards save it to config.ini together with your default browsers user agent. Else it will ask you which account you would like to use (you have to verify by pressing y(yes) or n(no), if it asks you to) and than also save it's authentication token to config.ini together with your default browsers user agent.

This entire program only exists, for ease of access, to Fansly Scraper. Other ways every user of the scraper, would have to manually get the token just as described in the Get Started section of this Wiki. (automatic configurator: 1 click, approx 10-30 seconds, vs manual way: 8 steps and 3-5 minutes of your time)

This program is not guaranteed to work, since there's a variety of operating systems out there and every PC has a different configuration and file/directory hierarchy. But it is definitely worth a try.

I will personally also not extend its support for Linux and macOS, but I would be pleased if users of such operating systems would open a pull request providing such updates.

I would be pleased to know if this program has worked for you, if you are using Windows in Discussions > auto_config Results


3. Updater

Supports Windows, Linux & macOS

This is another ease of access software, that gives you the ability to automatically update all software related to the Avnsx/fansly repository.

You just click on it, and it checks for your version. If your version is lower than the newest version provided in the GitHub repository, it will ask you if you wish to update to the newest version, else it'll tell you that you are already on the newest version.

If you use the updater; your configured settings are not changed (you don't need to go through the process of configuring fansly scraper again). If there are new configuration options, they are added automatically with their default values. 🚀


4. config.ini

This is the configuration file, it directly lets you influence how each program acts.

You're expected to change the ReplaceMe's with your custom values

TargetedCreator > username = ReplaceMe Setting allows you to chose what content creator you want to scrape

MyAccount > authorization_token = ReplaceMe Your fansly authentication token goes here

MyAccount > user_agent = ReplaceMe Your browsers user agent goes here

Below can only be set to True or False

Options > show_downloads = False Turn this to "True", if you want to see downloaded files names during scraping process

Options > download_media_previews = True Downloads media previews, if not turned "False"

Options > update_recent_download = False Allows you to update recent downloaded folders

Options > open_folder_when_finished = True Opens the folder after the download is finished

Other > version = 0.3 Do not edit this; versioning changes automatically

Clone this wiki locally