OF-Scraper
  • Welcome
  • Requirements
  • Install
    • Installing Prerequisites
    • UV Install
    • Binary Releases
    • Docker
    • Release Info
  • Getting Started and Settings
    • Config Options
      • Config Location
      • Example Configs
      • Setting metadata path
      • Options
        • General Options
        • File Output Options
          • Placeholders
          • Responsetype Placeholders
        • Download Options
          • Download Toggles
          • Media Filtering Options
          • Advanced Download Options
        • Binaries Options
        • CDM Options
        • Performance Options
          • Values to Pick
        • Script Options
        • Advanced config options
          • Changing Const Values
          • Mediatype overwrites
    • Auth
    • Controlling Output/Logs
    • Migrating from Digitalcriminal's script
  • Using the Scraper
    • Using Prompts
      • Old Menu
      • Page 2
    • Username selection or Fuzzy Search
    • Basic Automation with command-line
      • Basic Actions
        • Liking/Unliking Post
        • Downloading Content
          • Downloading Text Files
          • Downloading Purchases From Deleted Models
        • Multiple Actions
      • Model Filtering/Sorting
        • Price Filtering/Sort
      • Advanced Args
      • Scripting tips
      • Enable label scan
    • Recipes
      • Adding Proxy
      • Redownload Deleted Downloads
  • Content Check Modes
    • Table Columns
    • Table Management
      • Pre 3.10.7 filtering
  • Scraping Individual Posts or Media
  • Metadata
    • Schema
    • Creating Metadata
    • Metadata location
  • CDM Setup
    • CDM issues
  • FAQ/Common Issues
    • Page 1
  • Command Reference
    • Shared Options
      • General Program Options
        • Program Options
        • Logging Options
        • Filename Modification Options
        • Media Filters Options
        • Download Options
        • Advanced Program Options
      • Shared Scrape and Metadata Check Mode Options
        • User List Filter Options
          • Advanced User Filters
        • User Selection Options
        • Model Sorting & Processing Options
        • Content Options
        • Automation Options
        • Advanced Search & Processing Options
    • Main Scraper Options
    • Metadata Check Mode Options
    • Content Check Modes Options
    • Manual Mode Options
  • Request Change to Doc
  • Testing
Powered by GitBook
On this page
  • Example
  • Notes
Edit on GitHub
  1. Getting Started and Settings
  2. Config Options
  3. Options
  4. Advanced config options

Mediatype overwrites

Overwrites allow you to overwrite certain settings based on the 4 mediatypes

text
videos
audios
images

The following can be changed

- system_free_min
- auto-resume
- file_size_min
- file_size_limit
- temp_dir
- responsetype
- remove_hash_match
- dir_format
- file_format
- textlength
- date
- space_replacer
- text_type_default
- truncation_default
- hash

Example

{"overwrites":
{"photos":{fileformat:"file format specific to photos"}
{"audios":"",
{"text":""
}

Notes

  • arguments will always have precedence of overwrites

  • If using an argument you can use --mediatype to target the argument to a specific mediatype such as video

PreviousChanging Const ValuesNextAuth

Last updated 12 months ago