This is a Go re-implementation of this script.
- ffmpeg
The program requires the following environment variables:
You can obtain the token by opening the browser console and pasting the following code:
copy(JSON.parse(localStorage.session_active_session).token);
This will copy your Fansly token to the clipboard. Note that you need to be logged into an account. Some Fansly creators may also restrict streams for certain subscription tiers, followers, etc.
This is the user agent of the browser used to log in to Fansly. You can find it by either:
- Googling "what is my user agent"
- Using the following code in the browser console:
copy(navigator.userAgent);
The initial path where livestreams will be stored. If not set, it will default to the current working directory.
All these variables can either be supplied through a .env file, as enviroment variables or as command-line arguments.
fix downloading on Windows add Tests