Skip to main content
OF-Scraper-Community

OF-Scraper-Community

Download what you're subscribed to on OnlyFans and Fansly, from the command line.

A community-maintained fork of datawhores/OF-Scraper, with the fixes users have reported since upstream stopped updating.

Latest release Tests codecov Python 3.11 to 3.15 Docker Docs License: MIT

Install · Getting started · Docs · FAQ · Reference · Releases · Report a problem


OF-Scraper can't get past paywalls. You need a subscription to a creator, and you can only download what your account can already see.

Why this fork

Upstream hasn't been updated since April 2026. This fork keeps it working:

🔐 DRM video Protected videos download and decrypt again, with ffmpeg 6, 7 and 8+.
🌐 Fansly Posts, messages, purchases, labels (profile walls) and livestreams, alongside OnlyFans.
🐍 Python 3.11 to 3.15 Tested in CI on the oldest and newest supported versions.
🛠️ Bug fixes Dozens of reported bugs fixed, with tests that guard them. See the releases.
📖 Full reference Every command, option, setting and database table documented.

Install

This fork is on PyPI as ofscraper-community. The command is still ofscraper.

Requirements:

  • Python 3.11 or higher.
  • ffmpeg 6 or newer, only for protected (DRM) videos.

With uv (recommended)

uv tool install ofscraper-community

With pipx

pipx install ofscraper-community

With pip

pip install ofscraper-community

Without Python: download the Windows, macOS or Linux build from the latest release.

Docker

docker pull ghcr.io/cloakedkeys/of-scraper-community:latest

Updating

uv tool upgrade ofscraper-community
pipx upgrade ofscraper-community
pip install -U ofscraper-community

Use the one that matches how you installed it.

Switching from ofscraper

The ofscraper package on PyPI is upstream's old version, without these fixes. It installs the same ofscraper command, so uninstall it first, using the tool you installed it with:

  • pip: pip uninstall ofscraper
  • uv (this includes the fork installed from GitHub before it was on PyPI): uv tool uninstall ofscraper
  • pipx: pipx uninstall ofscraper

Then install ofscraper-community as above. If pip already has both, uninstall both, then install ofscraper-community again.

Unreleased changes

To get what's on main before it's released, install from this repo. To update, run the same command again.

uv tool install --force git+https://github.com/cloakedkeys/OF-Scraper-Community
pip install git+https://github.com/cloakedkeys/OF-Scraper-Community

Getting started

Run ofscraper and follow the prompts. The first run asks for your auth details and creates a config file in ~/.config/ofscraper/.

📖 Read the docs for setup, auth, config options, commands and the full technical reference.

FAQ

Auth keeps failing, or it says "Double check auth info"
  • Copy every value (sess, auth_id, x-bc, user_agent) again from the same browser while you're logged in to OnlyFans. They expire when you log out.
  • user_agent must match that browser exactly.
  • Make sure you're on the latest version of this fork.
  • To stop the auth prompt from looping, add --auth-fail and the run quits on an auth error instead.
"No accounts found during scan"

Usually an auth problem, so check the auth answer above first. Then check you have an active subscription to the model, and that you aren't filtering it out with options like --expired-subscription.

Protected videos don't download, or leave .part / tempvid files

These videos need a CDM to decrypt them.

  • Set up cdm_options in your config. See the CDM guide.
  • Install ffmpeg 6 or newer and put its full path in binary_options → ffmpeg.
  • Paths copied with Windows' "Copy as path" (with quotes) work.
Files download fine but are counted as "failed"

Fixed in 3.15.0. This mostly happened when saving to a mapped or network drive. Update to the latest version.

Some messages or new posts are missing

A bug that skipped messages when using --after is fixed in 3.15.0. Update, then run again. To rescan a date range, add --after YYYY-MM-DD. Add --force-all as well if you want files you already have downloaded again.

ffmpeg isn't found even though it's installed

Put the full path to the ffmpeg program in binary_options → ffmpeg in your config, for example C:\ffmpeg\bin\ffmpeg.exe. An empty setting means "not set".

It says to update to 3.14.7

That's upstream's PyPI version, which is older than this fork. Version 3.15.0 and later no longer show that message.

Two files saved with the same name overwrote each other

Newer versions save the second one as name_<media_id> instead. To recover files lost to this in older versions, see Collision Recovery.

Fork-only features

  • Skip a model during --scrape-paid: --excluded-username now works with --scrape-paid. Separate several names with commas.

    ofscraper --scrape-paid --excluded-username modelname,othermodel
    
  • Start the next daemon pass early (Docker/Linux): while the daemon is waiting between passes, send SIGUSR1.

    docker kill --signal=SIGUSR1 <container>
    
  • Organize downloads in Stash: copy each download's creator, date, caption and source into Stash. See Stash.

Reporting a problem

Open an issue in this repo, not upstream's.

Include a debug log. Run with --log debug, then attach the newest file from ~/.config/ofscraper/logging/. Check it for personal details before posting.

The GUI is a separate project: cjb900/OF-Scraper-GUI.

Disclaimer

This tool isn't affiliated with, endorsed by or sponsored by OnlyFans or Fansly. All OnlyFans trademarks belong to Fenix International Limited. You use it at your own risk and are responsible for how you use it.

Credits

OF-Scraper was created by datawhores and its contributors. This fork builds on their work.

Metadata

Release files for ofscraper-community 3.16.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ofscraper-community 3.16.6
File Size Uploaded Provenance Actions
ofscraper_community-3.16.6.tar.gz 1.6 MB With provenance Details for ofscraper_community-3.16.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ofscraper-community 3.16.6
File Interpreter ABI Platform Actions
ofscraper_community-3.16.6-py3-none-any.whl Python 3 none any Details for ofscraper_community-3.16.6-py3-none-any.whl

Total release size: 2.2 MB

Release files / ofscraper_community-3.16.6.tar.gz

Download URL ofscraper_community-3.16.6.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
6c419d02040d3fb223b8bb4c25e708f93f760b516ecb6d662e46dd2d66e3e333
BLAKE2b-256 checksum
How to use checksums
086a5d3d72a3bb1b666a8dcf1be2e79357a24381eff41870c5962f3c43399761
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / ofscraper_community-3.16.6-py3-none-any.whl

Download URL ofscraper_community-3.16.6-py3-none-any.whl
Size 508.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b534110e736adb070d717be75ea141430c38f21436dd7a555ab0125072afc09b
BLAKE2b-256 checksum
How to use checksums
dddf886556a1587f75a4ce22607a0d94ccf8ca9263f291ca59408b4501b940f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for ofscraper-community 3.16.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ofscraper_community-3.16.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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