CLI-Meta-YtDlp
view release on metacpan or search on metacpan
lib/CLI/Meta/YtDlp.pm view on Meta::CPAN
'break-on-reject' => undef,
'skip-playlist-after-errors=i' => undef,
'no-download-archive' => undef,
# Download Options:
'concurrent-fragments|N=i' => undef,
'limit-rate|r=s' => undef, # number with prefix
'throttled-rate|r=s' => undef, # number with prefix
'retries|R=i' => undef,
'fragment-retries=i' => undef,
'skip-unavailable-fragments|no-abort-on-unavailable-fragments' => undef,
'abort-on-unavailable-fragment|no-skip-unavailable-fragments' => undef,
'keep-fragments!' => undef,
'buffer-size=s' => undef, # number or number with prefix
'resize-buffer!' => undef,
'http-chunk-size=s' => undef, # e.g. 10485760 or 10M
'playlist-reverse!' => undef,
'playlist-random' => undef,
'xattr-set-filesize' => undef,
'hls-use-mpegts!' => undef,
'downloader|external-downloader=s' => {completion=>["aria2c", "axel", "curl", "httpie", "wget"]},
'downloader-args|external-downloader-args=s' => undef,
# Filesystem Options:
'batch-file|a=s' => undef,
'paths|P=s' => undef,
'output|o=s' => {completion=>$comp_file},
'output-na-placeholder=s' => undef,
'restrict-filenames!' => undef,
'windows-filenames!' => undef,
'trim-filenames=i' => undef,
'no-overwrites|w' => undef,
'force-overwrites!' => undef,
'continue|c' => undef,
'no-continue' => undef,
'part!' => undef,
'mtime!' => undef,
'write-description!' => undef,
'write-info-json!' => undef,
'write-playlist-metafiles!' => undef,
'clean-infojson!' => undef,
'write-comments|get-comments!' => undef,
'load-info-json=s' => {completion=>$comp_file},
'cookies=s' => {completion=>$comp_file},
'no-cookies' => undef,
'cookies-from-browser=s' => {completion=>[qw/brave chrome chromium edge firefox opera safari vivaldi/]}, # XXX should be browser:profile, complete firefox/chrome profiles
'no-cookies-from-browser' => undef,
'cache-dir=s' => {completion=>$comp_dir},
'no-cache-dir' => undef,
'rm-cache-dir' => undef,
# Thumbnail Options:
'write-thumbnail!' => undef,
'write-all-thumbnails' => undef,
'list-thumbnails' => undef,
# Internet Shortcut Options:
'write-link' => undef,
'write-url-link' => undef,
'write-webloc-link' => undef,
'write-desktop-link' => undef,
# Verbosity / Simulation Options:
'quiet|q' => undef,
'no-warnings' => undef,
'simulate|s' => undef,
'no-simulate' => undef,
'ignore-no-formats-error!' => undef,
'skip-download|no-download' => undef,
'print|O=s' => undef,
'dump-json|j' => undef,
'dump-single-json|J' => undef,
'force-write-archive|force-download-archive' => undef,
'newline' => undef,
'no-progress' => undef,
'console-title' => undef,
'verbose|v' => undef,
'dump-pages' => undef,
'write-pages' => undef,
'print-traffic' => undef,
# Workarounds:
'encoding=s' => undef,
'no-check-certificate' => undef,
'prefer-insecure' => undef,
'user-agent=s' => undef,
'referer=s' => undef, # url
'add-header=s' => undef, # FIELD:VALUE
'bidi-workaround' => undef,
'sleep-requests=i' => undef,
'sleep-interval=i' => undef,
'max-sleep-interval=i' => undef,
'sleep-subtitles=i' => undef,
# Video Format Options:
'format|f=s' => {
completion => [qw/aac m4a mp3 mp4 ogg wav webm/,
qw/best bestvideo bestaudio worst/], # format or format1/format2/format3 (by order of preference)
},
'format-sort|S=s' => undef,
'format-sort-force!' => undef,
'video-multistreams!' => undef,
'audio-multistreams!' => undef,
'prefer-free-formats!' => undef,
'check-formats!' => undef,
'list-formats|F' => undef,
'merge-output-format=s' => {completion=>[qw/mkv mp4 ogg webm flv/]},
# Subtitle Options:
'write-subs!' => undef,
'write-auto-subs!' => undef,
'list-subs' => undef,
'sub-format=s' => {completion=>[qw/aas srt best/]},
'sub-langs=s' => undef, # e.g. 'en,pt'
# Authentication Options:
'username|u=s' => undef,
'password|p:s' => undef,
'twofactor|2=s' => undef,
'netrc|n' => undef,
'video-password=s' => undef,
( run in 1.488 second using v1.01-cache-2.11-cpan-bbb979687b5 )