> For the complete documentation index, see [llms.txt](https://cloakedkeys.gitbook.io/ofsc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/config.md). Agents can also search and read this documentation through its [MCP server](https://cloakedkeys.gitbook.io/ofsc/~gitbook/mcp).

# config.json keys

Every key `config.json` holds, in the order the file is written (`ofscraper/utils/config/schema.py`). Defaults are what a new config gets.

`auto_update_config` rebuilds the file from the getters and writes it back, so an older key name is read once and saved under the current name. **CLI override** means a command-line option takes precedence for that run (`merged_settings` in `ofscraper/utils/settings.py`).

## Contents

* [Quick reference](#quick-reference)
* [Top level](#top-level)
* [`file_options`](#file_options)
* [`download_options`](#download_options)
* [`binary_options`](#binary_options)
* [`cdm_options`](#cdm_options)
* [`performance_options`](#performance_options)
* [`content_filter_options`](#content_filter_options)
* [`advanced_options`](#advanced_options)
* [`script_options`](#script_options)
* [`responsetype`](#responsetype)

## Quick reference

| Key                                                                                         | Default & overrides                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [`main_profile`](#main_profile)                                                             | **Default:** `"main_profile"` · **Env:** [`PROFILE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults), [`mainProfile`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#file-paths)                                      |
| [`metadata`](#metadata)                                                                     | **Default:** `"{configpath}/{profile}/.data/{model_id}"` · **Env:** [`METADATA_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                               |
| [`discord`](#discord)                                                                       | **Default:** `""` · **CLI:** `--discord` · **Env:** [`DISCORD_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                |
| [`file_options.save_location`](#file_options.save_location)                                 | **Default:** `"{home_directory}/Data/ofscraper"` · **Env:** [`SAVE_PATH_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                      |
| [`file_options.dir_format`](#file_options.dir_format)                                       | **Default:** `"{model_username}/{responsetype}/{mediatype}/"` · **Env:** [`DIR_FORMAT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                        |
| [`file_options.file_format`](#file_options.file_format)                                     | **Default:** `"{filename}.{ext}"` · **Env:** [`FILE_FORMAT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                   |
| [`file_options.textlength`](#file_options.textlength)                                       | **Default:** `0` · **CLI:** `--textlength` · **Env:** [`TEXTLENGTH_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                           |
| [`file_options.space_replacer`](#file_options.space_replacer)                               | **Default:** `" "` · **CLI:** `--space-replacer` · **Env:** [`SPACE_REPLACER_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                 |
| [`file_options.date`](#file_options.date)                                                   | **Default:** `"MM-DD-YYYY"` · **Env:** [`DATE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                                |
| [`file_options.text_type_default`](#file_options.text_type_default)                         | **Default:** `"letter"` · **CLI:** `--text-type` · **Env:** [`TEXT_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                      |
| [`file_options.truncation_default`](#file_options.truncation_default)                       | **Default:** `true` · **CLI:** `--original` · **Env:** [`TRUNCATION_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                          |
| [`file_options.filename_collision`](#file_options.filename_collision)                       | **Default:** `"media_id"` · **Env:** [`FILENAME_COLLISION_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                    |
| [`download_options.filter`](#download_options.filter)                                       | **Default:** `["Images", "Audios", "Videos"]` · **CLI:** `--mediatype` · **Env:** [`FILTER_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                   |
| [`download_options.auto_resume`](#download_options.auto_resume)                             | **Default:** `true` · **CLI:** `--no-auto-resume` · **Env:** [`RESUME_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                        |
| [`download_options.system_free_min`](#download_options.system_free_min)                     | **Default:** `0` · **CLI:** `system_free_min` · **Env:** [`SYSTEM_FREEMIN_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                    |
| [`download_options.max_post_count`](#download_options.max_post_count)                       | **Default:** `0` · **CLI:** `--max-post-count` · **Env:** [`MAX_COUNT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                        |
| [`download_options.verify_all_integrity`](#download_options.verify_all_integrity)           | **Default:** `false` · **Env:** [`VERIFY_ALL_INTEGRITY`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#downloads)                                                                                                                                                      |
| [`binary_options.ffmpeg`](#binary_options.ffmpeg)                                           | **Default:** `""` · **Env:** [`FFMPEG_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                                        |
| [`cdm_options.private-key`](#cdm_options.private-key)                                       | **Default:** `null` · **CLI:** `--private-key`                                                                                                                                                                                                                                                   |
| [`cdm_options.client-id`](#cdm_options.client-id)                                           | **Default:** `null` · **CLI:** `--client-id`                                                                                                                                                                                                                                                     |
| [`cdm_options.key-mode-default`](#cdm_options.key-mode-default)                             | **Default:** `"manual"` · **CLI:** `--key-mode` · **Env:** [`KEY_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults), [`KEY_OPTIONS`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                  |
| [`performance_options.download_sems`](#performance_options.download_sems)                   | **Default:** `6` · **CLI:** `--downloadsem` · **Env:** [`DOWNLOAD_SEM_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                        |
| [`performance_options.download_limit`](#performance_options.download_limit)                 | **Default:** `0` · **CLI:** `--download-limit` · **Env:** [`DOWNLOAD_LIMIT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                   |
| [`content_filter_options.block_ads`](#content_filter_options.block_ads)                     | **Default:** `false` · **Env:** [`BLOCKED_ADS_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                                |
| [`content_filter_options.file_size_max`](#content_filter_options.file_size_max)             | **Default:** `0` · **CLI:** `--size-max` · **Env:** [`FILE_SIZE_MAX_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                          |
| [`content_filter_options.file_size_min`](#content_filter_options.file_size_min)             | **Default:** `0` · **CLI:** `--size-min` · **Env:** [`FILE_SIZE_MIN_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                          |
| [`content_filter_options.length_max`](#content_filter_options.length_max)                   | **Default:** `0` · **CLI:** `--length-max` · **Env:** [`MAX_LENGTH_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                           |
| [`content_filter_options.length_min`](#content_filter_options.length_min)                   | **Default:** `0` · **CLI:** `--length-min` · **Env:** [`MIN_LENGTH_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                           |
| [`advanced_options.dynamic-mode-default`](#advanced_options.dynamic-mode-default)           | **Default:** `"digital"` · **CLI:** `--dynamic-rules` · **Env:** [`DYNAMIC_OPTIONS_ALL`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#dynamic-rules), [`DYNAMIC_RULE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#dynamic-rules) |
| [`advanced_options.skip_unavailable_content`](#advanced_options.skip_unavailable_content)   | **Default:** `true` · **Env:** [`SKIP_UNAVAILABLE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#output-and-file-handling)                                                                                                                                    |
| [`advanced_options.downloadbars`](#advanced_options.downloadbars)                           | **Default:** `false` · **CLI:** `--downloadbars` · **Env:** [`PROGRESS_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                       |
| [`advanced_options.cache-mode`](#advanced_options.cache-mode)                               | **Default:** `"sqlite"` · **Env:** [`CACHEDEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                                    |
| [`advanced_options.rotate_logs`](#advanced_options.rotate_logs)                             | **Default:** `true` · **Env:** [`ROTATE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                                      |
| [`advanced_options.sanitize_text`](#advanced_options.sanitize_text)                         | **Default:** `false` · **Env:** [`SANITIZE_DB_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                                |
| [`advanced_options.temp_dir`](#advanced_options.temp_dir)                                   | **Default:** `null` · **Env:** [`TEMP_FOLDER_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                                 |
| [`advanced_options.remove_hash_match`](#advanced_options.remove_hash_match)                 | **Default:** `null` · **Env:** [`HASHED_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                                      |
| [`advanced_options.infinite_loop_action_mode`](#advanced_options.infinite_loop_action_mode) | **Default:** `false` · **Env:** [`INFINITE_LOOP_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                              |
| [`advanced_options.incremental_downloads`](#advanced_options.incremental_downloads)         | **Default:** `true` · **Env:** [`INCREMENTAL_DOWNLOADS_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                       |
| [`advanced_options.default_user_list`](#advanced_options.default_user_list)                 | **Default:** `"main"` · **CLI:** `--user_list` · **Env:** [`DEFAULT_USER_LIST`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                        |
| [`advanced_options.default_black_list`](#advanced_options.default_black_list)               | **Default:** `[]` · **CLI:** `--black_list` · **Env:** [`DEFAULT_BLACK_LIST`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                          |
| [`advanced_options.logs_expire_time`](#advanced_options.logs_expire_time)                   | **Default:** `0`                                                                                                                                                                                                                                                                                 |
| [`advanced_options.ssl_verify`](#advanced_options.ssl_verify)                               | **Default:** `"custom"` · **Env:** [`SSL_VALIDATION_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                          |
| [`advanced_options.env_files`](#advanced_options.env_files)                                 | **Default:** `[]`                                                                                                                                                                                                                                                                                |
| [`advanced_options.database_url`](#advanced_options.database_url)                           | **Default:** see below                                                                                                                                                                                                                                                                           |
| [`script_options.after_action_script`](#script_options.after_action_script)                 | **Default:** `null` · **CLI:** `--after-action-script` · **Env:** [`AFTER_ACTION_SCRIPT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                      |
| [`script_options.post_script`](#script_options.post_script)                                 | **Default:** `null` · **CLI:** `--post-script` · **Env:** [`POST_SCRIPT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                      |
| [`script_options.naming_script`](#script_options.naming_script)                             | **Default:** `null` · **CLI:** `--naming-script` · **Env:** [`NAMING_SCRIPT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                  |
| [`script_options.after_download_script`](#script_options.after_download_script)             | **Default:** `null` · **CLI:** `--after-download-script` · **Env:** [`AFTER_DOWNLOAD_SCRIPT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                  |
| [`script_options.skip_download_script`](#script_options.skip_download_script)               | **Default:** `null` · **CLI:** `--skip-download-script` · **Env:** [`SKIP_DOWNLOAD_SCRIPT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                    |
| [`responsetype.timeline`](#responsetype.timeline)                                           | **Default:** `"Posts"` · **Env:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                            |
| [`responsetype.message`](#responsetype.message)                                             | **Default:** `"Messages"` · **Env:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                         |
| [`responsetype.archived`](#responsetype.archived)                                           | **Default:** `"Archived"` · **Env:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                         |
| [`responsetype.paid`](#responsetype.paid)                                                   | **Default:** `"Messages"` · **Env:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                         |
| [`responsetype.stories`](#responsetype.stories)                                             | **Default:** `"Stories"` · **Env:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                          |
| [`responsetype.highlights`](#responsetype.highlights)                                       | **Default:** `"Stories"` · **Env:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                          |
| [`responsetype.profile`](#responsetype.profile)                                             | **Default:** `"Profile"` · **Env:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                          |
| [`responsetype.pinned`](#responsetype.pinned)                                               | **Default:** `"Posts"` · **Env:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                            |
| [`responsetype.streams`](#responsetype.streams)                                             | **Default:** `"Streams"` · **Env:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults)                                                                                                                                          |

## Top level

### `main_profile`

**Default:** `"main_profile"` · **Env default:** [`PROFILE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults), [`mainProfile`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#file-paths) · **Read by:** `get_main_profile()` in `ofscraper/utils/config/data.py`

The name of the profile folder in the config directory. The folder holds `auth.json`, the cache and (by default) the per-creator databases. The name also appears in log file names. The `--profile` option overrides it for one run.

### `metadata`

**Default:** `"{configpath}/{profile}/.data/{model_id}"` · **Env default:** [`METADATA_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_metadata()` in `ofscraper/utils/config/data.py`

The folder pattern for each creator's `user_data.db`. It uses placeholders such as `{configpath}`, `{profile}`, `{model_id}` and `{model_username}`. On Fansly runs a site subfolder is appended unless the pattern already contains a site-specific placeholder, so the two sites never share a database.

### `discord`

**Default:** `""` · **CLI override:** `--discord` · **Env default:** [`DISCORD_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_discord()` in `ofscraper/utils/config/data.py`

The Discord webhook URL that log messages are posted to. Nothing is sent unless the run's Discord log level is raised with `-dc`/`--discord` set to `LOW` or `NORMAL`. The option defaults to `OFF`.

## `file_options`

### `file_options.save_location`

**Default:** `"{home_directory}/Data/ofscraper"` · **Env default:** [`SAVE_PATH_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_save_location()` in `ofscraper/utils/paths/common.py`

The root folder for downloads. `dir_format` is resolved under it. It is also the temp-file root when `temp_dir` is unset. Fansly runs save to a `Fansly` subfolder of it, unless `dir_format` or `file_format` uses `{site_name}` (or `{sitename}`): then each site's folder comes from the template, so `{site_name}/{model_username}/...` gives `<save location>/Onlyfans/...` and `<save location>/Fansly/...`. The database path and the `{save_location}` and `{root}` values keep the `Fansly` subfolder either way. Surrounding quotes from the Windows "Copy as path" command are stripped.

### `file_options.dir_format`

**Default:** `"{model_username}/{responsetype}/{mediatype}/"` · **Env default:** [`DIR_FORMAT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_dirformat()` in `ofscraper/utils/config/data.py`

The folder pattern for each downloaded file, relative to `save_location`. It is built from placeholders such as `{model_username}`, `{responsetype}` and `{mediatype}`. It is ignored for a file when `naming_script` returns a path.

### `file_options.file_format`

**Default:** `"{filename}.{ext}"` · **Env default:** [`FILE_FORMAT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_fileformat()` in `ofscraper/utils/config/data.py`

The file name pattern for each download. It is built from placeholders such as `{filename}`, `{ext}`, `{date}`, `{text}` and `{media_id}`. It is ignored for a file when `naming_script` returns a path.

### `file_options.textlength`

**Default:** `0` · **CLI override:** `--textlength` · **Env default:** [`TEXTLENGTH_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_textlength()` in `ofscraper/utils/config/data.py`

The maximum length of post text used in names (the `{text}` placeholder and text-based file names). It is counted in letters or words, according to `text_type_default`. 0 means no limit. The `-tl`/`--textlength` option overrides it.

### `file_options.space_replacer`

**Default:** `" "` · **CLI override:** `--space-replacer` · **Env default:** [`SPACE_REPLACER_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `space-replacer` · **Read by:** `get_spacereplacer()` in `ofscraper/utils/config/data.py`

The character that replaces spaces in post text used for file and folder names. In word mode it also serves as the word separator. An empty value falls back to a space. The `-sr`/`--space-replacer` option overrides it.

### `file_options.date`

**Default:** `"MM-DD-YYYY"` · **Env default:** [`DATE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_date()` in `ofscraper/utils/config/data.py`

An arrow date-format string (for example `MM-DD-YYYY`). It formats the `{date}` placeholder in `dir_format`, `file_format` and naming-script payloads.

### `file_options.text_type_default`

**Default:** `"letter"` · **CLI override:** `--text-type` · **Env default:** [`TEXT_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_textType()` in `ofscraper/utils/config/data.py`

Whether `textlength` counts `letter`s or `word`s. Any other value falls back to the default. The `-tt`/`--text-type` option overrides it.

### `file_options.truncation_default`

**Default:** `true` · **CLI override:** `--original` · **Env default:** [`TRUNCATION_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_truncation()` in `ofscraper/utils/config/data.py`

When true, final file paths longer than the operating system's limit are shortened to fit. The `-g`/`--original` flag turns truncation off for one run.

### `file_options.filename_collision`

**Default:** `"media_id"` · **Env default:** [`FILENAME_COLLISION_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_filename_collision()` in `ofscraper/utils/config/data.py`

What happens when a download's target path already holds a different file. `overwrite` keeps the old behaviour: the larger file wins. Any other value saves the new file as `name_<media_id>`, then `name_<media_id>_2` and so on. An existing file with identical content is kept. With `--allow-dupes`, an identical file counts as this download only when the database records it for the same media and post; otherwise it is another post's copy and the new one gets its own name, in both modes.

## `download_options`

### `download_options.filter`

**Default:** `["Images", "Audios", "Videos"]` · **CLI override:** `--mediatype` · **Env default:** [`FILTER_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `content_filter_options` · **Read by:** `get_filter()` in `ofscraper/utils/config/data.py`

The media types to process: a list or comma-separated string of Images, Audios and Videos (case-insensitive). An empty list processes all types. The `-mt`/`--mediatype` option overrides it.

### `download_options.auto_resume`

**Default:** `true` · **CLI override:** `--no-auto-resume` · **Env default:** [`RESUME_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `partfileclean` · **Read by:** `get_part_file_clean()` in `ofscraper/utils/config/data.py`

When true, a leftover `.part` file is resumed with an HTTP range request. When false, partial files are deleted and downloads restart. The `-ar`/`--no-auto-resume` flag forces it off for one run.

### `download_options.system_free_min`

**Default:** `0` · **CLI override:** `system_free_min` · **Env default:** [`SYSTEM_FREEMIN_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_system_freesize()` in `ofscraper/utils/config/data.py`

The minimum free disk space. Once free space drops below it, scraping of further post areas stops with the message "Space min has been reached". It accepts bytes or a size string such as `10GB`. 0 disables the check. Space is measured on `OFSC_DISK_SPACE_CHECK_PATH` (default `/`), not on `save_location`. There is no CLI option for it.

### `download_options.max_post_count`

**Default:** `0` · **CLI override:** `--max-post-count` · **Env default:** [`MAX_COUNT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_max_post_count()` in `ofscraper/utils/config/data.py`

The most media items (not posts) to download or process per creator, after all other filters. 0 means no cap. The `-xc`/`--max-post-count` and `-mxc`/`--max-media-count` options both override it, and they set the same value.

### `download_options.verify_all_integrity`

**Default:** `false` · **Env default:** [`VERIFY_ALL_INTEGRITY`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#downloads) · **Read by:** `get_verify_all_integrity()` in `ofscraper/utils/config/data.py`

When true, `ffprobe` checks ordinary (non-DRM) video and audio downloads and Fansly streams against the expected duration. A truncated file is deleted and reported as failed. It requires `ffprobe`. There is no CLI option for it.

## `binary_options`

### `binary_options.ffmpeg`

**Default:** `""` · **Env default:** [`FFMPEG_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_ffmpeg()` in `ofscraper/utils/config/data.py`

The path to the ffmpeg executable. It is needed for DRM decryption and merging and for Fansly streams (version 6 or newer for DRM). If the path is empty or invalid, the app tries `OFSC_FFMPEG_DEFAULT`, then the pyffmpeg bundle, then `PATH`. Surrounding quotes are stripped.

## `cdm_options`

### `cdm_options.private-key`

**Default:** `null` · **CLI override:** `--private-key` · **Read by:** `get_private_key()` in `ofscraper/utils/config/data.py`

The path to the Widevine CDM private key file (`private_key.pem`). It is read when key-mode is `manual`. The `-pk`/`--private-key` option overrides it. Surrounding quotes are stripped.

### `cdm_options.client-id`

**Default:** `null` · **CLI override:** `--client-id` · **Read by:** `get_client_id()` in `ofscraper/utils/config/data.py`

The path to the Widevine CDM client ID blob (`client_id.bin`). It is read when key-mode is `manual`. The `-ci`/`--client-id` option overrides it. Surrounding quotes are stripped.

### `cdm_options.key-mode-default`

**Default:** `"manual"` · **CLI override:** `--key-mode` · **Env default:** [`KEY_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults), [`KEY_OPTIONS`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_key_mode()` in `ofscraper/utils/config/data.py`

How DRM content keys are obtained. `manual` (the default) uses the local CDM files in `private-key` and `client-id`. `cdrm` is deprecated: cdrm-project.com no longer works and isn't contacted, so protected videos are skipped before download, with a message to switch to `manual`; each run that uses it warns. Only a server of your own set in `OFSC_CDRM_URL` is still sent the request headers, cookies included. A config that already says `cdrm` keeps it. Other values fall back to the default. The `-k`/`--key-mode` option overrides it.

## `performance_options`

### `performance_options.download_sems`

**Default:** `6` · **CLI override:** `--downloadsem` · **Env default:** [`DOWNLOAD_SEM_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_download_semaphores()` in `ofscraper/utils/config/data.py`

The number of downloads that run at the same time. The worker thread pool is twice this size. It must be at least 1, and 0 or a negative number falls back to the default. The `--sem`/`-sd` option overrides it.

### `performance_options.download_limit`

**Default:** `0` · **CLI override:** `--download-limit` · **Env default:** [`DOWNLOAD_LIMIT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_download_limit()` in `ofscraper/utils/config/data.py`

The maximum download speed in bytes per second, shared across downloads. It accepts a size string such as `10MB`. 0 means unlimited, and any non-zero value below 1024 is raised to 1024. The `-dl`/`--download-limit` option overrides it.

## `content_filter_options`

### `content_filter_options.block_ads`

**Default:** `false` · **Env default:** [`BLOCKED_ADS_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_block_ads()` in `ofscraper/utils/config/data.py`

When true, posts whose text matches a built-in advertising regex (#ad, giveaway, shoutout, promo and similar) are excluded. This is added on top of any `--neg-filter` patterns. The `-ba`/`--block-ads` flag turns it on for one run.

### `content_filter_options.file_size_max`

**Default:** `0` · **CLI override:** `--size-max` · **Env default:** [`FILE_SIZE_MAX_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `download_options`, `file_size_limit` · **Read by:** `get_filesize_max()` in `ofscraper/utils/config/data.py`

Media larger than this are skipped at download time. The `db` command and the table view also apply it. It accepts bytes or a size string such as `500MB`. 0 means no limit, and an unparseable value is treated as 0. The `-sx`/`--size-max` option overrides it.

### `content_filter_options.file_size_min`

**Default:** `0` · **CLI override:** `--size-min` · **Env default:** [`FILE_SIZE_MIN_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `download_options` · **Read by:** `get_filesize_min()` in `ofscraper/utils/config/data.py`

Media smaller than this are skipped at download time. The `db` command and the table view also apply it. It accepts bytes or a size string. 0 means no limit, and an unparseable value is treated as 0. The `-sm`/`--size-min` option overrides it.

### `content_filter_options.length_max`

**Default:** `0` · **CLI override:** `--length-max` · **Env default:** [`MAX_LENGTH_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `download_options` · **Read by:** `get_max_length()` in `ofscraper/utils/config/data.py`

The maximum duration in seconds. Longer videos are filtered out. Only videos with a known duration are affected, not audio or images. 0 means no limit. The `-lx`/`--length-max` option overrides it.

### `content_filter_options.length_min`

**Default:** `0` · **CLI override:** `--length-min` · **Env default:** [`MIN_LENGTH_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `download_options` · **Read by:** `get_min_length()` in `ofscraper/utils/config/data.py`

The minimum duration in seconds. Shorter videos are filtered out. Only videos with a known duration are affected, not audio or images. 0 means no limit. The `-lm`/`--length-min` option overrides it.

## `advanced_options`

### `advanced_options.dynamic-mode-default`

**Default:** `"digital"` · **CLI override:** `--dynamic-rules` · **Env default:** [`DYNAMIC_OPTIONS_ALL`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#dynamic-rules), [`DYNAMIC_RULE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#dynamic-rules) · **Read by:** `get_dynamic()` in `ofscraper/utils/config/data.py`

Which source of OnlyFans request-signing rules to use. Allowed values: `xagler`, `rafa`, `digitalcriminals` (aliases `dc`, `digital`, `digitals`, `digitalcriminal`, `datawhores`; the config menu lists and saves it as `digital`), `generic` (needs `OF_DYNAMIC_GENERIC_URL`) and `manual` (needs `OFSC_DYNAMIC_RULE_MANUAL`). Unknown values fall back to the default with a warning. `datawhores` was its own rule source until OnlyFans stopped accepting its rule; it's now an alias for `digitalcriminals`, so configs that name it keep working. If the chosen source fails, isn't configured, or returns an unusable rule (incomplete, or obsolete such as a 2024 rule OnlyFans rejects), `digitalcriminals`, `rafa` and `xagler` are tried in order and the one used is logged. If none returns a usable rule, the auth check reports that auth couldn't be verified rather than bad auth, and the next request tries again. The `-dr`/`--dynamic-rules` option overrides it.

### `advanced_options.skip_unavailable_content`

**Default:** `true` · **Env default:** [`SKIP_UNAVAILABLE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#output-and-file-handling) · **Read by:** `get_skip_unavailable_content()` in `ofscraper/utils/config/data.py`

When true, timeline, pinned, archived, stories and highlights are not scraped for creators whose subscription has expired. Profile, purchased content and messages are still scraped. Labels and streams are scraped only for active subscriptions, whatever this setting says.

### `advanced_options.downloadbars`

**Default:** `false` · **CLI override:** `--downloadbars` · **Env default:** [`PROGRESS_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_show_downloadprogress()` in `ofscraper/utils/config/data.py`

When true, the app shows a progress bar for each file being downloaded, in addition to the overall progress. The `-db`/`--downloadbars` flag can turn it on but not off.

### `advanced_options.cache-mode`

**Default:** `"sqlite"` · **Env default:** [`CACHEDEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `cache_mode_helper()` in `ofscraper/utils/config/data.py`

The storage backend for the on-disk cache. `sqlite` stores pickled values in the `cache_sql` folder. `json` stores JSON values in the `cache_json` folder. `disabled` turns off the cache, the API cache and incremental downloads, like `--no-cache`. `api_disabled` turns off only the API response cache, like `--no-api-cache`, and keeps sqlite storage. Other values fall back to the default.

### `advanced_options.rotate_logs`

**Default:** `true` · **Env default:** [`ROTATE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_rotate_logs()` in `ofscraper/utils/config/data.py`

When true, each run writes its own log file in a per-day folder under the logging directory. When false, all runs of a day append to one file. It must be true for `logs_expire_time` to delete old logs.

### `advanced_options.sanitize_text`

**Default:** `false` · **Env default:** [`SANITIZE_DB_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_sanitizeDB()` in `ofscraper/utils/config/data.py`

When true, post and message text is stored in the database with HTML tags removed and whitespace collapsed. When false, raw API text is stored. This doesn't affect file names. Fansly style codes are always stripped regardless of this setting (from the database, `.txt` files, file names, text filters and script input): `[s:lg]`, `[c:blue]`, `**bold**`, `*italic*`, `~~`, `[text](https://github.com/cloakedkeys/OF-Scraper-Community/blob/main/reference/url)` links (keeping only their text) and backslash escapes (keeping the escaped character). Text saved by earlier versions keeps them until a `--metadata` run rewrites it, and `stash_sync` copies saved text as is.

### `advanced_options.temp_dir`

**Default:** `null` · **Env default:** [`TEMP_FOLDER_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_TempDir()` in `ofscraper/utils/config/data.py`

The root folder for in-progress (`.part`) downloads. It is laid out with `dir_format`, like the final location. When unset, temp files are written under `save_location`. Surrounding quotes are stripped.

### `advanced_options.remove_hash_match`

**Default:** `null` · **Env default:** [`HASHED_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_hash()` in `ofscraper/utils/config/data.py`

`true` hashes every download and, after each creator finishes, deletes later files whose hash matches an earlier file for the same creator and media type, keeping the first copy. A file is deleted only if its content still matches the kept file. Files shared by several posts, and per-post copies under `--allow-dupes`, are left alone. The first run with it on also removes duplicates recorded by earlier runs. For each removed copy, the database then points to the kept file. Nothing is removed in a text-only run, from the check table, or once a stop is requested. Only `true` deletes (via `OFSC_HASHED_DEFAULT`: `true`, `1`, `yes` or `on`). `false` only records hashes; `null` skips hashing.

### `advanced_options.infinite_loop_action_mode`

**Default:** `false` · **Env default:** [`INFINITE_LOOP_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_InfiniteLoop()` in `ofscraper/utils/config/data.py`

When true, action mode (`--action`) asks after each run whether to continue, and offers another action instead of exiting.

### `advanced_options.incremental_downloads`

**Default:** `true` · **Env default:** [`INCREMENTAL_DOWNLOADS_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `enable_auto_after` · **Read by:** `get_incremental_downloads()` in `ofscraper/utils/config/data.py`

When true and no `--after` is given, each area is scanned only from the newest previously scanned post instead of from the start. Like and unlike actions and forced full scans still scan everything. `--no-cache` or cache-mode `disabled` turns it off for the run. The legacy key `advanced_options.enable_auto_after` is read when this key is missing.

On Fansly download runs, the timeline and messages are paged newest first, and each finished scan records the newest post it saw. The next run stops at the first page whose posts are all at or below that post, once no older post has media left to download. Only an unstopped download scan that reached the last page (or stopped by this rule) records the marker; runs that need the whole list first (`--max-post-count` or sort options) never use it. A full scan still runs on a creator's first run, when access changed (subscribed, following or tier), with `--post-id` or `--force-all`, when the last full scan is older than `FANSLY_FULL_SCAN_DAYS` days (default 7), or in the full-scan cases above. A post that appears later with an older date, or media added later to an already-scanned post, is found only by a full scan (`--after 2000` forces one).

### `advanced_options.default_user_list`

**Default:** `"main"` · **CLI override:** `--user_list` · **Env default:** [`DEFAULT_USER_LIST`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_default_userlist()` in `ofscraper/utils/config/data.py`

The OnlyFans user lists to select creators from when `-ul`/`--user-list` is not given. It is a list or a comma-separated string. The reserved names `ofscraper.main`, `ofscraper.active` and `ofscraper.expired` mean all, active and expired subscriptions. Names are matched case-insensitively.

### `advanced_options.default_black_list`

**Default:** `[]` · **CLI override:** `--black_list` · **Env default:** [`DEFAULT_BLACK_LIST`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_default_blacklist()` in `ofscraper/utils/config/data.py`

The OnlyFans user lists whose members are excluded from selection when `-bl`/`--black-list` is not given. It is a list or a comma-separated string. Names are matched case-insensitively.

### `advanced_options.logs_expire_time`

**Default:** `0` · **Read by:** `get_logs_expire()` in `ofscraper/utils/config/data.py`

The age in hours after which `.log` files in the logging directory are deleted at cleanup, along with empty log folders. 0 disables it. Nothing is deleted unless `rotate_logs` is true.

### `advanced_options.ssl_verify`

**Default:** `"custom"` · **Env default:** [`SSL_VALIDATION_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_ssl_verify()` in `ofscraper/utils/config/data.py`

The TLS mode for HTTP sessions. `false` (also `0`, `none` or empty) turns certificate verification off. `default` uses Python's standard SSL context. Any other value (normally `custom`) uses the hardened custom context in `cert.py`, which shapes the TLS fingerprint. A legacy JSON boolean (`true` or `false`) is read as `custom`.

### `advanced_options.env_files`

**Default:** `[]` · **Also reads:** `script_options`, `scripts` · **Read by:** `get_env_files()` in `ofscraper/utils/config/data.py`

A list of `.env`, `.yaml`/`.yml` or `.json` files whose values are loaded as environment variables (`OFSC_*` overrides) before settings are built. Later files override earlier ones. Before them, the app loads a `.env` file found by python-dotenv. It searches upward from `ofscraper/utils/of_env/`, and from the working folder only in the standalone binaries, the REPL or a debugger. The `--env-files` option replaces this list for one run.

### `advanced_options.database_url`

**Default:** `"Not set in this file. To use PostgreSQL, set the OFSC_DATABASE_URL environment variable, or put it in a file listed in env_files (it holds a password). See POSTGRESQL.md."` · **Read by:** `get_database_url_note()` in `ofscraper/utils/config/data.py`

Not a setting: a note for anyone who looks for the PostgreSQL address here. The address is the [`OFSC_DATABASE_URL`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#subprocess-log-levels-and-free-space-check) environment default, which is kept out of this file because it holds a password (see `POSTGRESQL.md`). Whatever is written in this key is ignored and replaced by the note.

## `script_options`

### `script_options.after_action_script`

**Default:** `null` · **CLI override:** `--after-action-script` · **Env default:** [`AFTER_ACTION_SCRIPT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `advanced_options` · **Read by:** `get_after_action_script()` in `ofscraper/utils/config/data.py`

An executable that runs after each user is processed by the like, unlike or download actions. It also runs after scrape-paid, check and manual downloads. It receives JSON with the username, media and posts on stdin. The `-aas`/`--after-action-script` option overrides it.

### `script_options.post_script`

**Default:** `null` · **CLI override:** `--post-script` · **Env default:** [`POST_SCRIPT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `advanced_options`, `scripts` · **Read by:** `get_post_script()` in `ofscraper/utils/config/data.py`

An executable that runs once when the program finishes. It receives JSON on stdin that lists processed and unprocessed users for the like, unlike, download and scrape-paid activities. The `-ps`/`--post-script` option overrides it.

### `script_options.naming_script`

**Default:** `null` · **CLI override:** `--naming-script` · **Env default:** [`NAMING_SCRIPT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `advanced_options`, `scripts` · **Read by:** `get_naming_script()` in `ofscraper/utils/config/data.py`

An executable that runs for each download to choose its path. It receives JSON about the media, post and current formats on stdin. Non-empty stdout is used as the full file path, in place of `dir_format` and `file_format`. Programs the script starts are stopped once it exits, times out or is cancelled, and when ofscraper exits (a warning is logged when the script exits and leaves any running). `nohup` and `&` don't keep a program running. On Linux and macOS, a program started in its own session (for example with `setsid`) is left running; on Windows, none is. The `-ns`/`--naming-script` option overrides it.

### `script_options.after_download_script`

**Default:** `null` · **CLI override:** `--after-download-script` · **Env default:** [`AFTER_DOWNLOAD_SCRIPT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `advanced_options`, `scripts` · **Read by:** `get_after_download_script()` in `ofscraper/utils/config/data.py`

An executable that runs after each file is downloaded (text files included). It receives the final file path on stdin. Programs the script starts are stopped once it exits, times out or is cancelled, and when ofscraper exits (a warning is logged when the script exits and leaves any running). `nohup` and `&` don't keep a program running. On Linux and macOS, a program started in its own session (for example with `setsid`) is left running; on Windows, none is. The `-adl`/`--after-download-script` option overrides it.

### `script_options.skip_download_script`

**Default:** `null` · **CLI override:** `--skip-download-script` · **Env default:** [`SKIP_DOWNLOAD_SCRIPT_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `advanced_options`, `scripts` · **Read by:** `get_skip_download_script()` in `ofscraper/utils/config/data.py`

An executable that runs before each download. Receives JSON about the media, post and total size on stdin, and is called once per file (per track for DRM video) per run. Printing `false` or nothing skips the file for this run only: it is counted as skipped, not saved as downloaded, and asked about again on the next run. Printing `skip-permanent` (any case) skips it for good: counted as skipped and saved as downloaded with no file, so it isn't asked about again. Undo permanent skips with `--retry-permanent-skips` or `ofscraper db --unmark-permanent-skips`. Any other output, or a failed script, lets the download proceed. Before #351, `false` and nothing also saved the file as downloaded; print `skip-permanent` to keep that behaviour. Programs the script starts are stopped once it exits, times out or is cancelled, and when ofscraper exits (a warning is logged when the script exits and leaves any running). `nohup` and `&` don't keep a program running. On Linux and macOS, a program started in its own session (for example with `setsid`) is left running; on Windows, none is. The `-sdl`/`--skip-download-script` option overrides it.

## `responsetype`

These values are the folder names that fill `{responsetype}` in `dir_format`. For each post, the app lowercases the post's own type, looks it up here, and capitalises the result with `str.capitalize()` (`Post.modified_responsetype` in `ofscraper/classes/of/posts.py`). Only the first letter stays uppercase. An empty or missing entry falls back to the type's own name. Archived posts always use `responsetype.archived`.

### `responsetype.timeline`

**Default:** `"Posts"` · **Env default:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Also reads:** `post` · **Read by:** `get_timeline_responsetype()` in `ofscraper/utils/config/data.py`

The folder name used for `{responsetype}` for timeline posts. The value is capitalised, so only its first letter stays uppercase. An empty value falls back to the type name.

### `responsetype.message`

**Default:** `"Messages"` · **Env default:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_messages_progress_responsetype()` in `ofscraper/utils/config/data.py`

The folder name used for `{responsetype}` for messages. The value is capitalised, so only its first letter stays uppercase. An empty value falls back to the type name.

### `responsetype.archived`

**Default:** `"Archived"` · **Env default:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_archived_responsetype()` in `ofscraper/utils/config/data.py`

The folder name used for `{responsetype}` for archived posts. It takes precedence over pinned and other types. The value is capitalised, so only its first letter stays uppercase. An empty value falls back to the type name.

### `responsetype.paid`

**Default:** `"Messages"` · **Env default:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_paid_responsetype()` in `ofscraper/utils/config/data.py`

The folder name used for `{responsetype}` for purchased (paid) content found by `--scrape-paid` or the purchased area. The value is capitalised, so only its first letter stays uppercase. An empty value falls back to the type name.

### `responsetype.stories`

**Default:** `"Stories"` · **Env default:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_stories_responsetype()` in `ofscraper/utils/config/data.py`

The folder name used for `{responsetype}` for stories. The value is capitalised, so only its first letter stays uppercase. An empty value falls back to the type name.

### `responsetype.highlights`

**Default:** `"Stories"` · **Env default:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_highlights_responsetype()` in `ofscraper/utils/config/data.py`

The folder name used for `{responsetype}` for story highlights. The value is capitalised, so only its first letter stays uppercase. An empty value falls back to the type name.

### `responsetype.profile`

**Default:** `"Profile"` · **Env default:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_profile_responsetype()` in `ofscraper/utils/config/data.py`

The folder name used for `{responsetype}` for profile media (avatar and header images). The value is capitalised, so only its first letter stays uppercase. An empty value falls back to the type name.

### `responsetype.pinned`

**Default:** `"Posts"` · **Env default:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_pinned_responsetype()` in `ofscraper/utils/config/data.py`

The folder name used for `{responsetype}` for pinned posts. The value is capitalised, so only its first letter stays uppercase. An empty value falls back to the type name.

### `responsetype.streams`

**Default:** `"Streams"` · **Env default:** [`RESPONSE_TYPE_DEFAULT`](https://cloakedkeys.gitbook.io/ofsc/reference-and-help/reference/env.md#general-defaults) · **Read by:** `get_streams_responsetype()` in `ofscraper/utils/config/data.py`

The folder name used for `{responsetype}` for streams. The value is capitalised, so only its first letter stays uppercase. An empty value falls back to the type name.
