🕸️
Cyberdrop-DL
Cyberdrop-DL
Cyberdrop-DL
  • Welcome!
  • Getting Started
    • Python Install
      • Windows
      • Linux
      • macOS
    • Cyberdrop-DL Install
    • Running CDL on Android
  • Transition to V6
  • Frequently Asked Questions
  • Migration to Cyberdrop-DL-Patched
  • SimpCity Support Dropped
  • Reference
    • Supported Websites
    • Configuration Options
      • Special Type Options
      • Authentication
      • Settings
        • Browser Cookies
        • Download Options
        • Dupe Cleanup Options
        • File Size Limits
        • Files
        • Ignore Options
        • Logs
        • Media Duration Limits
        • Runtime Options
        • Sorting
      • Global Settings
        • General
        • Rate Limiting Options
        • UI Options
    • CLI Arguments
    • Notifications
    • Changelog
    • Contributing
Powered by GitBook
On this page
  • AdditiveArgs
  • Examples
  • BoolFlag
  • Examples
  • ByteSize
  • Examples
  1. Reference
  2. Configuration Options

Special Type Options

Configuration settings with special behavior or details.

AdditiveArgs

Special type for some settings that accept multiple values as input (lists or sets). When passing values as CLI arguments, if the first value is +, any value after it will be added to the values specified in the config file instead of overriding it. Similarly, if the first value is -, any value after it will be removed from the values specified in the config

Examples

If you have the following skip_hosts setting in you config file:

skip_hosts:
  - drive.google.com
  - youtube.com
  - facebook.com

You will get the following results:

Value you used
Value CDL interpreted
Details

--skip-host instagram.com

[instagram.com]

config values were overridden by CLI values

--skip-host "+" instagram.com

[drive.google.com, youtube.com, facebook.com, instagram.com]

config values and CLI values were merged

--skip-host "-" drive.google.com youtube.com

[facebook.com]

CLI values were removed from the config values

Always use quotes for "+" and "-" to make sure your shell does not try to parse them as additional flags

BoolFlag

A special kind of bool. Within a config file, it can have a true or false value. However, when used via CLI, the value is assumed from the flag name. The normal name is true, and prefixing the name with --no means false.

Examples

Value you used
Value CDL interpreted

--auto-dedupe

auto-dedupe: true

--no-auto-dedupe

auto-dedupe: false

ByteSize

A special kind of int that accepts suffixes like GB, MiB and KB

In conformance with IEC 80000-13 Standard, 1KB means 1000 bytes, and 1KiB means 1024 bytes. In general, including a middle 'i' will cause the unit to be interpreted as a power of 2, rather than a power of 10.

Examples

Value you used
Value CDL interpreted

1GB

1.000.000.000 bytes

512

512 bytes

1MiB

1.048.576 bytes

ByteSize is also used for some settings to specify speed and it's interpreted as <value> / second. ex: 8MB means 8MB/s

PreviousConfiguration OptionsNextAuthentication

Last updated 2 months ago