fanslyio

module
v0.0.0-...-4cee36d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2022 License: MIT

README

Fansly datascraper

Config

you need to setup a config so you can use this tool.

windows: %APPDATA%\fanslyio\config.json

macOS: $HOME/Library/Application Support/fanslyio/config.json

*nix: $HOME/.config/fanslyio/config.json

To get user-agent text

login to the page. open Developer tools go to the console: type this: alert(window.navigator.userAgent) copy the text from that box

To get authorization text

type this: alert(JSON.parse(localStorage.getItem("session_active_session")).token) copy the text from that box

{
    "user-agent": "Add user-agent from browser",
    "authorization": "Add authorization value from browser"
}

If you only want to download from specific users, add allowlist to the file like this:

{
    "user-agent": "Add user-agent from browser",
    "authorization": "Add authorization value from browser",
    "allowlist": ["username", "username2"]
}

If you don't want to download from specific users, add blocklist to the file like this:

{
    "user-agent": "Add user-agent from browser",
    "authorization": "Add authorization value from browser",
    "blocklist": ["username3"]
}

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL