OF-Scraper
  • Welcome
  • Requirements
  • Install
    • Pre-Install Guides
      • Linux
      • Windows
      • Mac
    • PIPX Install
    • PIP Install
    • Binary Releases
    • Docker
    • Release Info
    • Managing Multiple Python Versions
  • Getting Started and Settings
    • Config Options
      • Config Location
      • General Options
      • File Output Options
        • Placeholders
        • Responsetype Placeholders
      • Download Options
        • Download Toggles
        • Media Filtering Options
        • Advanced Download Options
      • Setting metadata path
      • Binaries Options
      • CDM Options
      • Performance Options
        • Values to Pick
      • Script Options
      • Advanced config options
        • Changing Const Values
        • Mediatype overwrites
    • Depreciated Options
    • 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
  • Media Type Filter
  • -mt, --mediatype [argument]
  • File Size Filters
  • -sx, --size-max [argument]
  • -sm, --size-min [argument]
  • Media Length Filters (Video Only)
  • -lx, --length-max [argument]
  • -lm, --length-min [argument]
  • Media Quality Filter
  • -q, --quality [argument]
  • Media ID Filter
  • -md,--media-id [argument]
  1. Command Reference
  2. Shared Options
  3. General Program Options

Media Filters Options

These options allow you to filter downloaded media based on various criteria, helping you manage storage space and download times.

Media Type Filter

-mt, --mediatype [argument]

  • Filters: media by type

  • Possible Choices:

    • Audio

    • Videos

    • Images

    • Text (Downloads Post Text)

  • Defaults: Audio, Video , Images

  • Example: -mt Images, only images will be downloaded


File Size Filters

-sx, --size-max [argument]

  • Filters: Files exceeding the specified size.

  • Accepts: Human-readable size values like "10MB", "500GB", etc.

  • Default: None (no maximum size filter)

  • Example: With -sx 1GB, only files 1 gigabyte or smaller will be downloaded.

-sm, --size-min [argument]

  • Filters: Files smaller than the specified size.

  • Accepts: Human-readable size values like "10MB", "500GB", etc.

  • Default: None (no minimum size filter)

  • Example: With -sm 50MB, only files 50 megabytes or larger will be downloaded.


Media Length Filters (Video Only)

These filters only apply to video files.

-lx, --length-max [argument]

  • Filters: Videos longer than the specified duration.

  • Accepts: Values that will be interpreted as seconds

  • Default: None (no maximum length filter)

  • Example: With -lx 30, only videos shorter or equal to 30 seconds will be downloaded.

-lm, --length-min [argument]

  • Filters: Videos shorter than the specified duration.

  • Accepts: Values that will be intepreted as seconds

  • Default: None (no minimum length filter)

  • Example: With -lm 5, only videos 5 seconds or longer will be downloaded.


Media Quality Filter

-q, --quality [argument]

  • Sets: The minimum acceptable video quality

  • Possible choices:

    • source: Attempts to download the highest available quality (may not always be achievable).

    • 240: Filters for videos with a resolution of at least 240p.

    • 720: Filters for videos with a resolution of at least 720p.

  • Default: source (attempts to download highest quality)

  • Note: The program might download a higher quality version if the specified quality is unavailable


Media ID Filter

-md,--media-id [argument]

  • Filters: filters based on mediaid

  • Default: None

  • Note: This will have no effect on search speed, as filtering must be done after all posts are found

PreviousFilename Modification OptionsNextDownload Options

Last updated 9 months ago