Skip to main content

Fansly-DL

A fast, high-quality Fansly media downloader.

Fansly-DL Demo

Python License

[!WARNING] This project may violate Fansly's Terms of Service. Use it at your own risk and ensure you comply with any applicable terms and laws.


📖 About

I originally wrote this project because the downloaders I tried weren't consistently downloading the highest-quality media available.

Fansly-DL retrieves a creator's timeline and downloads the highest quality media your account is authorized to access.

It does not bypass subscriptions or paid content—your account must already have permission to view the media.


✨ Features

  • 📷 Downloads the highest available image quality
  • 🎥 Downloads videos
  • 📁 Organises downloads by year/month
  • 📅 Preserves upload dates in filenames
  • 📊 Progress bars with download statistics
  • 🔄 Resume partially downloaded files
  • 🧹 Simple command-line interface

📑 Table of Contents


📦 Requirements

  • Python 3.11+
  • A Fansly account
  • An active subscription to the creator whose content you want to download

🚀 Installation

Download using pip:

pip install Fansly-DL

🛠 Usage

1. Obtain your session token

Log into Fansly using your browser.

Open Developer Tools → Console and run:

localStorage.getItem("session_active_session")

Example:

{
    "id": "...",
    "accountId": "...",
    "token": "YOUR_TOKEN"
}

Copy the value of token.


2. Run the downloader

fansly-dl --session-token YOUR_TOKEN

⚙ Arguments

Required

Argument Description
--session-token TOKEN Session token obtained from localStorage.getItem("session_active_session")

Optional

Argument Description
--destination PATH Download directory (default: ./Downloads)
--debug Enable debug logging
--concurrent Amount of simultaneous downloads (default: 5)
--timeout Requests timeout in seconds (default: 10)
--chunk-size Amount of chunks to download in a request stream. (default: 1024 * 1024)

📂 Example Output

Downloads/
└── Creator/
    ├── 2026/
    │   ├── 07 - July/
    │   │   ├── [2026-07-29] d600a1e88eff.jpeg
    │   │   ├── [2026-07-29] 50db93fc1110.mp4
    │   │   └── ...

⚠ Limitations

  • You must have permission to access the creator's content.
  • The downloader currently supports timeline posts only.
  • Message attachments are not currently supported because they have not been reverse engineered or tested.

❓ FAQ

Why do I need both cookies and the session token?

Fansly validates requests using both your authenticated session and browser cookies. Supplying both allows the application to make authenticated requests in the same way your browser does.

Can I download paid content?

Only if your account has already purchased or subscribed to it.

Does this bypass subscriptions?

No.


🐞 Issues

Found a bug?

Please open an issue:

https://github.com/Mogrul/Fansly-DL/issues

Feature requests and pull requests are welcome.


⚖ Disclaimer

This project is provided for educational purposes.

The author is not responsible for how this software is used, including any account restrictions or other consequences that may result from its use. Users are responsible for ensuring they comply with Fansly's Terms of Service and all applicable laws.


Made with ☕, Python and way too much reverse engineering.

⭐ If this project helped you, consider starring the repository.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fansly_dl-0.2.0.tar.gz (367.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fansly_dl-0.2.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file fansly_dl-0.2.0.tar.gz.

File metadata

  • Download URL: fansly_dl-0.2.0.tar.gz
  • Upload date:
  • Size: 367.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.5

File hashes

Hashes for fansly_dl-0.2.0.tar.gz
Algorithm Hash digest
SHA256 785b1ac7a797d591a12faa946faeedca1f7d319ca068d13560d80f868568ad04
MD5 c6741012b253ff569c185a36e4f5d8a8
BLAKE2b-256 b7c2d1622920ffef3ee5f9f97ba3596eff750280c429c4630d3381537774713c

See more details on using hashes here.

File details

Details for the file fansly_dl-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: fansly_dl-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.5

File hashes

Hashes for fansly_dl-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1dfeeb48693eddb779223cc218613c065e9932531ac09af70c958ea0804350cd
MD5 17e927088c00589f5beb5c8c7ec92d7e
BLAKE2b-256 6aa39242016be964dba4336800d236e446883fd3ae861653acbef0b5b65909cb

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.2

2 files

0.2.1

2 files

This release

0.2.0 This release

2 files

0.1.2

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page