CLI Arguments
Here's the available CLI Arguments
You can pass any of the Config Settings and Global Settings options as a cli argument for the program.
For items not explained below, you can find their counterparts in the configuration options to see what they do.
CLI only arguments
appdata-folder
appdata-folderPath
<Current Working Directory>
Folder where Cyberdrop-DL will store it's database, cache and config files.
completed-after
completed-afterdate
None
Only retry downloads that were completed on or after this date. The date should be in ISO 8601 format, for example, 2021-12-23
completed-before
completed-beforedate
None
Only retry downloads that were completed on or before this date. The date should be in ISO 8601 format, for example, 2021-12-23
config
configstr
None
Name of config to load. Use ALL to run all configs sequentially
config-file
config-filePath
None
Path to the CDL settings.yaml file to load
disable-cache
disable-cacheBoolFlag
False
store_true
Disables read/writes to requests cache for the current run only. All config settings or arguments related to the cache (ex: file_host_cache_expire_after) will be ignored.
download
downloadBoolFlag
False
store_true
Skips UI, start download immediately
download-tiktok-audios
download-tiktok-audiosBoolFlag
False
store_true
Download TikTok audios from posts and save them as separate files
download-tiktok-src-quality-videos
download-tiktok-src-quality-videosBoolFlag
False
store_true
By default, CDL will download the "optimized for streaming" version of tiktok videos. Setting this option to True will download videos in original (source) quality.
_original will be added as a suffix to their filename.
This will make video downloads several times slower
When it is set to False (the default) CDL can download 50 videos with a single request. When it is set to True , CDL needs to make at least 3 requests per video to download them.
There's also a daily limit of the API CDL uses: 5000 requests per day per IP
Setting this option to True will consume the daily limit faster
impersonate
impersonatechrome", "edge", "safari", "safari_ios", "chrome_android", "firefox", BoolFlag or null
null
store_true or store_const
Impersonation allows CDL to make requests and appear to be a legitimate web browser. This helps bypass bot-protection on some sites and it's required for any site that only accepts HTTP2 connections.
The default value (
null) means CDL will automatically use impersonation for crawlers that were programmed to use it.Passing the flag without any value (
--impersonate) is the same as--impersonate True: CDL will use impersonation for ALL requests, using the default impersonation targetPassing an specific target (ex:
--impersonate chrome_android) will make CDL use impersonation for all requests, using that tarjet
max-items-retry
max-items-retryNonNegativeInt
0
Max number of links to retry. Using 0 means no limit
portrait
portraitBoolFlag
False
store_true
Force CDL to run with a vertical layout
print-stats
print-statsBoolFlag
True
store_false
Show stats report at the end of a run
retry-all
retry-allBoolFlag
False
store_true
Retry all downloads
retry-failed
retry-failedBoolFlag
False
store_true
Retry failed downloads
retry-maintenance
retry-maintenanceBoolFlag
False
store_true
Retry download of maintenance files (bunkr). Requires files to be hashed
show-supported-sites
show-supported-sitesBoolFlag
False
store_true
Shows a list of all supported sites and exits
ui
uiCaseInsensitiveStrEnum
FULLSCREEN
UI can have 1 of these values:
DISABLED: no output at allACTIVITY: only shows a spinner with the textrunning CDL...SIMPLE: shows spinner + simplified progress barFULLSCREEN: shows the normal UI/progress view
Overview
Bool arguments like options within Download Options, Ignore Options, Runtime Options, etc. can be prefixed with --no- to negate them. Ex: --no-auto-dedupe will disable auto dedupe, overriding whatever the config option was set to.
Last updated