> For the complete documentation index, see [llms.txt](https://of-dl.gitbook.io/of-dl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://of-dl.gitbook.io/of-dl/config.md).

# Config

The config.json file contains all of the options you can change, these will be listed below:

#### `DownloadAvatarHeaderPhoto`:

`true`: Avatar and Header images will be downloaded

`false`: Avatar and Header images will not downloaded

#### `DownloadPaidPosts`:

`true`: Paid Posts will be downloaded

`false`: Paid Posts will not downloaded

#### `DownloadPosts`:

`true`: Free Posts will be downloaded

`false`: Free Posts will not downloaded

#### `DownloadArchived`:

`true`: Posts in the Archived tab will be downloaded

`false`: Posts in the Archived tab will not downloaded

#### `DownloadStreams`:

`true`: Posts in the Streams tab will be downloaded

`false`: Posts in the Streams tab will not downloaded

#### `DownloadStories`:

`true`: Stories on a users profile will be downloaded

`false`: Stories on a users profile will not downloaded

#### `DownloadHighlights`:

`true`: Highlights on a users profile will be downloaded

`false`: Highlights on a users profile will not downloaded

#### `DownloadMessages`:

`true`: Free Media within messages including paid message previews will be downloaded

`false`: Free Media within messages including paid message previews will not downloaded

#### `DownloadPaidMessages`:

`true`: Paid Media within messages excluding paid message previews will be downloaded

`false`: Paid Media within messages excluding paid message previews will not downloaded

#### `DownloadImages`:

`true`: Images will be downloaded

`false`: Images will not be downloaded

#### `DownloadVideos`:

`true`: Videos will be downloaded

`false`: Videos will not be downloaded

#### `DownloadAudios`:

`true`: Audios will be downloaded

`false`: Audios will not be downloaded

#### `IncludeExpiredSubscriptions`:

`true`: Expired subscriptions will appear in the Custom list

`false`: Expired subscriptions will not appear in the Custom list

#### `SkipAds`:

`true`: Posts or messages that contain #ad or free trial links will be ignored

`false`: Posts or messages that contain #ad or free trial links will not be ignored

#### `DownloadPath`:

If left blank then content will be downloaded to `__user_data__/sites/OnlyFans/{username}`

An example is if you set the download path to `"S:/"` then content will be downloaded to `S:/{username}`

#### `PaidPostFileNameFormat`:

Please refer to [this](/of-dl/custom-filename-formats.md#paidpostfilenameformat) to see what fields you can use

#### `PostFileNameFormat`:

Please refer to [this](/of-dl/custom-filename-formats.md#postfilenameformat) to see what fields you can use

#### `PaidMessageFileNameFormat`:

Please refer to [this](/of-dl/custom-filename-formats.md#paidmessagefilenameformat) to see what fields you can use

#### `MessageFileNameFormat`:

Please refer to [this](/of-dl/custom-filename-formats.md#messagefilenameformat) to see what fields you can use

#### `RenameExistingFilesWhenCustomFormatIsSelected`:

`true`: Any current files downloaded will have the current format applied to them

`false`: Only new files will have the current format applied to them

#### `Timeout`:

You won't need to set this, but if you see errors about the configured timeout of 100 seconds elapsing then you could set this to be more than 100 but I would recommend you just leave it to be `null`

#### `FolderPerPaidPost`:

`true`:  A folder will be created for each Paid Post, the folder will contain all of the media for that Paid Post

`false`: Paid Post media will be downloaded into the Posts/Paid folder

#### `FolderPerPost`:

`true`:  A folder will be created for each Post, the folder will contain all of the media for that Post

`false`: Post media will be downloaded into the Posts/Free folder

#### `FolderPerPaidMessage`:

`true`:  A folder will be created for each Paid Message, the folder will contain all of the media for that Paid Message

`false`: Paid Message media will be downloaded into the Messages/Paid folder

#### `FolderPerMessage`:

`true`:  A folder will be created for each Message, the folder will contain all of the media for that Message

`false`: Message media will be downloaded into the Messages/Free folder

#### `DownloadOnlySpecificDates`:

`true`:  Will get Posts before/after a date you specify

`false`: Will get all Posts

#### `DownloadDateSelection (DownloadOnlySpecificDates needs to be set to true)`:

`before`: This will get all posts from before the date so if you set it to 2023-07-30 then you would gets posts on 2023-07-29, 2023-07-28 etc

`after`: This will get all posts from the date you specify up until the current date

#### `CustomDate`:

This can be any date in `yyyy-mm-dd` format, this will be the date that is used when you are trying to download between/after a certain date

If you aren't trying to download between/after a certain date then leave this blank

#### `ShowScrapeSize`:

`true`:  This will show the total scrape size when download Posts, Messages etc in bytes. This will have an impact on performance as it has to go through each piece of media and get the size from the server which is a big task and can sometimes get you rate limited.

`false`: The total of each scrape will be the total amount of media for Posts, Messages etc rather than the size in bytes. This will improve the performance massively if you set this to false.

#### `DownloadPostsIncrementally`:

`true`:  Only new posts will be downloaded from the date of the last post that was downloaded based off whats in the user\_data.db file

`false`: Default behaviour will apply and all posts will be gathered and compared against the DB to see if it needs to be downloaded or not

#### `NonInteractiveMode`:

`true`:  When you run the program All Users will be scraped automatically without any input

`false`: Default behaviour will apply and you will be able to choose an option from the menu

#### `NonInteractiveModeListName`:

This can be set to a name of a list of users you have created on OF which can be using when you are using Non Interactive Mode

If you aren't trying to download from a list using Non Interactive Mode then leave this blank

#### `NonInteractiveModePurchasedTab`:

`true`:  When using NonInteractiveMode this will use only download content from your Purchased Tab

`false`: When you run the program All Users will be scraped automatically without any input
