Skip to content

3.18.0

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 07:51
· 2 commits to main since this release
d851931

New

  • PostgreSQL (optional): store every creator in one PostgreSQL database, instead of a user_data.db file per creator.
    • Set up: pip install "ofscraper-community[postgres]", then set OFSC_DATABASE_URL.
    • Existing data: postgres_import moves it in, postgres_export moves it back out.
    • Other tools: stash_sync, recover_collisions and creator_names.py use it when you add --postgres.
  • Creator renames: move_creator_files moves a creator's downloaded files to the folder for their current name and updates the database. An old name now selects the account it leads to.
  • --allow-dupes: download media once for every post it's in.
  • Check table: Fansly profiles, a Posts tab and a column picker. Large creators load faster.
  • Fansly: files download while the scan runs, the scan stops once the rest is already downloaded, starts at --before, and works without an active subscription.
  • Auth: if the chosen dynamic rule source fails, another one is tried. datawhores is accepted as a name for the digitalcriminals rules. Sources OnlyFans no longer accepts are gone.
  • Add-ons: hooks and events that add-ons such as the GUI patch can use.

Changes you might notice

  • Key mode defaults to manual. The cdrm key mode is deprecated: with no cdrm server, protected videos are skipped before download, and nothing is sent to the retired cdrm-project.com any more.
  • The archived folder is now Archived, capitalised like the other folders. A post that is both pinned and archived is tagged Archived.

Fixed

  • Security: your OnlyFans login is only sent to OnlyFans' own media hosts, including after a redirect. Cookies, signed links, content keys, PostgreSQL passwords and your home folder are hidden in logs and errors.
  • DRM: each file is decrypted with the key its key ID names; a refused video is tried again while its link is still good; videos are skipped when the CDM keys are missing.
  • Fansly: sound is kept when the stream's audio is refused, refused links are renewed, albums are no longer cut short, and caption markup stays out of file names and saved text.
  • Config files: config.json, auth.json and fansly_auth.json are read whatever their encoding (for example saved "with BOM" or as ANSI). The CSV export is written as UTF-8.
  • Options that did nothing now work: -fi (--username-individual-search), OFSC_INCLUDE_LABELS_ALL, FILTER_SELF_MEDIA=False and remove_hash_match.
  • Connections: kept-alive connections are reused, the wait grows while 429s keep coming, and expired Windows certificates are skipped.
  • Check table downloads work on Linux with Python 3.14.
  • Browser cookie import no longer crashes.
  • Merge Databases keeps which site a database is for.

Under the hood

  • The docs moved to https://cloakedkeys.gitbook.io/ofsc, with a regenerated technical reference.
  • Tests run in parallel, each run in its own throwaway home folder. CI tests Python 3.11 and 3.15.

Full changelog: 3.17.1...3.18.0