On click code, to scrape your favorite fansly creators media content. After you’ve ran the code, it’ll create a folder named
CreatorName_fansly in the same directory you launched the code from. That folder will have two sub-folders called Pictures & Videos, which will contain the downloaded content sorted into them.
This is pretty useful for example; if you dislike the website theming and would like to view the media on your local machine instead. This code does not bypass any paywalls & no end user information is collected during usage.
- If you have Python installed download the GitHub repository, else use the Executable version
- Make sure you have registered an account on fansly and are logged in with it in your browser or you’ll not be able to get a authorization token from Developer Console.
- Go to whatever creators account page and open your browsers developer console (Most often Key: F12)
- Reload the website by using the rotating arrow symbol to the left of your browsers search bar(Key: F5), while the developer console is open. Now do the steps on the following picture:
- Now paste both of the strings – that were on the right side of
User-Agent:– which you just copied, as shown in the picture above. Into the configuration file (config.ini) and replace the two strings with their corresponding values. (1.
Authorization_Token=paste the value for
User_Agent=paste the value for
- Replace the value for
Username=with whatever content creator you wish.
- Save the
config.inifile with the changes you’ve done to it, close it & then start up fansly scraper.
From now on, you’ll only need to re-do step 6 for every future use case.
You can just install the Executable version.
Else you’ll need to install python (ticking pip in installer) and paste below through
pip install requests
Dependant on how many people show me that they’re liking the code by giving ⭐’s on this repo, I’ll expand functionality & push more quality of life updates.
Would you like to help out more? Any crypto donations are welcome!
“Fansly” or fansly.com is operated by Select Media LLC as stated on their “Contact” page. This code (Avnsx/fansly) isn’t in any way affiliated with, sponsored by, or endorsed by Select Media LLC or “Fansly”. The developer of this code is not responsible for the end users actions. Of course I’ve never even used this code myself ever before and haven’t experienced its intended functionality on my local machine. This was written purely for educational purposes, in a entirely theoretical environment.
Written with python 3.9.7 for Windows 10, Version 21H1 Build 19043.1237