GitHub – k0rnh0li0/onlyfans-dl: OnlyFans content downloader

THE GREAT KORNHOLIO PRESENTS

This tool downloads all photos/videos from an OnlyFans profile, creating a local archive.
You must be subscribed to the profile to download their content.

onlyfans-dl will create a directory called profiles in the repo directory.
Each profile you download will be stored as a subdirectory of profiles.
Inside each profile directory, some information will be saved in info.json,
and all media will be downloaded to photos/ and videos/.

DON’T OPEN AN ISSUE ABOUT THE REQUESTS LIBRARY. (
#8
#25
#28
#29
#33
#44
#45
)

LOOK: python -m pip install requests

Usage

First make sure to set your session variables in the script first.

./onlyfans-dl.py <profile>

  • <profile> – the username of the profile to download

Session Variables

Requests to the API now need to be signed. This is an obfuscation technique from the developers to discourage scraping. Thanks for the most recent patch goes to DIGITALCRIMINAL.

You need your browser’s user-agent, onlyfans session cookie, x-bc HTTP header, and user-id. Here’s how to get them

  • Get your user-agent here ipchicken
  • Session Cookie
    • Login to OnlyFans as normal
    • Open the dev console Storage Inspector (SHIFT+F9 on FireFox). or the Application tab of Chrome DevTools
    • Click Cookies -> https://onlyfans.com
    • Copy the value of the sess cookie
  • x-bc and user-id
    • Login to OnlyFans, goto home page
    • Open dev console F12 -> Network tab (Ctrl+Shift+E in FireFox)
    • Click Headers sub-tab (default)
    • Click on one of the JSON elements (may need to refresh page) and look under request headers on the right

There are variables for each of these values at the top of the script. Make sure to update them every time you login or your browser updates.

Contributing

PRs are welcome; be sure to take some time to familiarize yourself with OnlyFans’ API if
you would like to extend/modify the functionality of this script.

Related articles

MnogoChat – Popular online chat for free

All video chats on the same site MnogoChat offers the most popular video chats in the world! Here you can find exactly the chat that you like! MnogoChat has free alternatives to popular services like ChatRoulette, Omegle and Bazoocam. There are already millions of people who have appreciated our service, the boys and girls of […]

Learn More

Best Telegram Channels about #Adult

Preview channel Videos Every Day | Brazzers premium | Onlyfans FREE | Pornstars | Reality Kings | PornHub | Legal porn | Woodman casting | Only 18+ Preview channel The biggest source of uncensored hentai pictures on Telegram. (18+) Preview channel The most juicy photos of girls are only here. Preview channel blacked telegram blacked_porno […]

Learn More

« It’s very frustrating because we could have been fifth or sixth. »

Fernando Alonso will start from fourteenth position in the Austrian Grand Prix after an unfortunate qualification for the driver of Alpine, who ran into a Sebastian Vettel that blocked him in the last corner and ruined his time at the Red Bull Ring: «We have gone from starting fifth or sixth to starting fourteenth, I […]

Learn More

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée.