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, 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.
Check table
The check table lists a creator's media so you can filter it, pick what you want and download only that. It's for OnlyFans only.
Opening it
- From the menu: run
ofscraper, choose Perform Action(s), then Browse and pick media (check table). Pick the creators, then the table: Posts, Messages, Paid or Stories. When you close the table, any downloads you sent from it finish, then you're back at the menu. - From the command line:
ofscraper post_check,msg_check,paid_checkorstory_check, with-u(usernames, or links forpost_checkandmsg_check) or-f(a file with one per line).
The menu uses the commands' defaults: a creator's saved post list when there is one, and for Posts the Timeline, Pinned, Archived and Streams areas. To fetch a fresh list or pick other areas, use the command with --force or --check-area.
Tabs
- DataTable: every media item, a page at a time. Click a column header to sort by it.
- Cart: what you've picked. The Download Text and Text Only (Skip Media) boxes apply to the next send.
- Console: the log, including download progress.
Sidebars (DataTable tab)
- Ctrl+S opens the options sidebar: filters for text, media ID, post ID, post media count, price, post date, length, downloaded, unlocked, media type, response type, download type and username. Press Filter to apply them. Clear Filters, or the Reset Filters button, clears them.
- Ctrl+D opens the download sidebar: the minimum and maximum file size to download. Changes apply right away.
- Press the same key again to close a sidebar.
- With a cell highlighted,
;or'copies its value into that column's filter. Press Filter to apply it.
Cart keys (DataTable tab, with both sidebars closed)
| Key | Adds to the cart |
|---|---|
a / Shift+A |
this page / everything the filters show |
u / Shift+U |
the same, but each media item once |
e / Shift+E |
the same, but only media that isn't downloaded yet |
| Key | Removes from the cart |
|---|---|
c / Shift+C |
this page / everything the filters show |
x |
everything |
You can also click a row's Download Cart cell to add or remove it, or click the Download Cart header to add the page. Locked media can't be added. On the Cart tab, click [added] to remove a row, c removes the page, and x or Shift+C empties the cart.
Downloading
Press >> Send Downloads to OF-Scraper (on the DataTable or Cart tab). The table switches to the Console, and each row's Download Cart cell shows [downloading], then [downloaded], [skipped] or [failed]. You can keep picking and send more while it downloads.
Opening the download folder
o(DataTable tab, sidebars closed) opens the highlighted row's folder. For a downloaded file, that's the folder holding it, with the file selected where the file manager can do that. Otherwise it's the creator's download folder.- The Open Download Folder button opens the highlighted row's creator's download folder.
Ctrl+Q closes the table.
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> -
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.11
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.11.tar.gz | 1.8 MB | With provenance | Details for ofscraper_community-3.16.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ofscraper_community-3.16.11-py3-none-any.whl | Python 3 | none | any | Details for ofscraper_community-3.16.11-py3-none-any.whl |
Total release size: 2.3 MB
Release files / ofscraper_community-3.16.11.tar.gz
| Download URL | ofscraper_community-3.16.11.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63b6661537e3917b9f8df69e1799d8dcc4d8804e91f957bcb7f44008662dc171
|
|
BLAKE2b-256 checksum How to use checksums |
1b60565e591f803ef8df54c856d492a9f07182fdb8c8894142e964a51b732721
|
| 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 14, 2026.
Transparency logRelease files / ofscraper_community-3.16.11-py3-none-any.whl
| Download URL | ofscraper_community-3.16.11-py3-none-any.whl |
|---|---|
| Size | 544.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2822f06b2a8c7575f0f51b79bf6fee89efacc6d2f19e83ea714ab104f8d1ff3
|
|
BLAKE2b-256 checksum How to use checksums |
9122101feb42c1e39cbe4430c9a90ef13afd26318819d399c8e4213feea5b17b
|
| 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 14, 2026.
Transparency logSecurity for ofscraper-community 3.16.11
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.11.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 14, 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.