


You need your browser's user-agent, onlyfans session cookie, x-bc HTTP header, and user-id. Thanks for the most recent patch goes to DIGITALCRIMINAL. This is an obfuscation technique from the developers to discourage scraping. Requests to the API now need to be signed. - Optional: Only get posts from the last days (Messages/Paid not affected).

Use "all" to get all currently subscribed profiles - the usernames of profiles to download.Usageįirst make sure to set your session variables in the script and configure your options. Specify multiple profiles at once or use "all" keyword to get subscriptions dynamicallyĪ post with a single photo and video shouldn't be considered an album.Īllow messages to be limited by age through a separate mechanism/function.Download everything, or only the last days of content.Choose to sort posts with more than one photo into "albums" (subfolders).Choose to create subfolders for each of the above, or combine them all into one folder.Choose what type of content to download (photos, videos, posts, stories, messages, purchases, archived).Requires Python3 and 'requests': python -m pip install requests Features Onlyfans-dl will create a directory named after the profile in the current working directory.Ī subdirectory structure will be built depending on the options set.Īny existing media will be skipped, not redownloaded.Ĭontent will be named as DATE_ID.EXT (e.g. You must be subscribed to the profile to download their content. This tool downloads all photos/videos from an OnlyFans profile, creating a local archive. OnlyFans Profile Downloader / Archiver v2
