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.
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 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.
With uv (recommended)
uv tool install ofscraper-community
With pipx
pipx install ofscraper-community
With pip
pip install ofscraper-community
Note: the
ofscraperpackage on PyPI is upstream's last release and doesn't have these fixes. Both packages provide theofscrapercommand and Python package, so installing both into the same environment with plain pip makes them overwrite each other. Runpip uninstall ofscraperbefore installingofscraper-community. If you already have both, uninstall both and then installofscraper-communityagain.uv toolandpipxkeep the two packages apart, but both still install a command calledofscraper. If you installed this fork before it was on PyPI, remove the old install first withuv tool uninstall ofscraper(orpipx uninstall ofscraper), then installofscraper-community.
Latest unreleased changes: to get what's on main before it's released, install from this repo.
uv tool install --force git+https://github.com/cloakedkeys/OF-Scraper-Community
pip install git+https://github.com/cloakedkeys/OF-Scraper-Community
Without Python: download the Windows, macOS or Linux build from the latest release.
Docker
docker pull ghcr.io/cloakedkeys/of-scraper-community:latest
Python 3.11 to 3.15 is supported. Protected (DRM) videos also need ffmpeg 6 or newer.
To update, run uv tool upgrade ofscraper-community, pipx upgrade ofscraper-community or pip install -U ofscraper-community. For a GitHub install, run the same install command again.
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_agentmust match that browser exactly.- Make sure you're on the latest version of this fork.
- To stop the auth prompt from looping, add
--auth-failand 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_optionsin 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-usernamenow 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>
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.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ofscraper_community-3.16.3.tar.gz | 1.5 MB | With provenance | Details for ofscraper_community-3.16.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ofscraper_community-3.16.3-py3-none-any.whl | Python 3 | none | any | Details for ofscraper_community-3.16.3-py3-none-any.whl |
Total release size: 2.0 MB
Release files / ofscraper_community-3.16.3.tar.gz
| Download URL | ofscraper_community-3.16.3.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c8e510d9e759b3ad92a563a6abbf3b344455202ca328a416eae3a51d7cd246b
|
|
BLAKE2b-256 checksum How to use checksums |
b011b07cea0c29d37c8f86617749718dc5749c8f8b3c1b56e312bd01245372c9
|
| 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 7, 2026.
Transparency logRelease files / ofscraper_community-3.16.3-py3-none-any.whl
| Download URL | ofscraper_community-3.16.3-py3-none-any.whl |
|---|---|
| Size | 477.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8aa3faee90e1215276fa862e4f47bae684953e7971202b82be14ea3b503a57e
|
|
BLAKE2b-256 checksum How to use checksums |
cc88242a7e45a5734a503f629b4b6a3b66b39157a8891b98053ebb5ba75a2bce
|
| 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 7, 2026.
Transparency logSecurity for ofscraper-community 3.16.3
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.
Attestation for ofscraper_community-3.16.3.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 7, 2026.
Transparency logA 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.