OF-DL
  • Welcome
  • Requirements
  • Install
  • Auth
  • Running the Program
  • Config
  • Custom Filename Formats
Powered by GitBook
On this page
  • Manual Method
  • Browser Extension

Auth

PreviousInstallNextRunning the Program

Last updated 1 year ago

After you have downloaded the latest release the first thing to do is to fill out the auth.json file.

Manual Method

Open auth.json in a text editor of your choice, the default windows notepad is sufficient enough, when you open auth.json for the first time you should see something like this:

Next, log into Onlyfans and press F12 to open the dev tools and select the 'Network' tab.

In the filter box type `api` and open any page on Onlyfans e.g Messages, you should see some requests appear in the list on the right within the Network tab:

Click on one of the requests you see in the list and scroll down until you find the 'Request Headers' section.

You should be able to find the 3 fields we need, Cookie, User-Agent and x-bc.

Within Cookie you will find 2 bits of information that we need to copy, these being sess and auth_id.

So heading back to your text editor:

The value of USER_ID will be set to what auth_id is set to.

The value of USER_AGENT will be set to what the User-Agent is set to in the Request Headers.

The value of X_BC will be set to what the X-Bc is set to in the Request Headers.

The value of COOKIE will be set to auth_id=YOUR AUTH_ID HERE; sess=YOUR SESS HERE;, please make sure you copy the values from within the Cookie field found in the Request Headers section.

If you have done everything correct you should end up with something like this (this is all dummy info):

{
  "USER_ID": "123456",
  "USER_AGENT": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0",
  "X_BC": "2a9b28a68e7c03a9f0d3b98c28d70e8105e1f1df",
  "COOKIE": "auth_id=123456; sess=k3s9tnzdc8vt2h47ljxpmwqy5r;"
}

Browser Extension

Finally you need to add the path to ffmpeg.exe which you should of downloaded earlier. I would recommend copying ffmpeg somewhere safe where you can then add the path to the config.json file. You can do this easily by holding shift when right clicking on the .exe file which should give you the option to copy as path, this will include \ so you will need to replace them with /. In the config.json file the lines should look something like this "FFmpegPath": "C:/ffmpeg.exe"

You can also use this browser extension which you can add to Chrome and Firefox to help get the required info instead of using the dev tools.

https://github.com/whimsical-c4lic0/OF-DL-Auth-Helper/