CLI-Meta-YtDlp

 view release on metacpan or  search on metacpan

lib/CLI/Meta/YtDlp.pm  view on Meta::CPAN

};

our $META = {
    opts => {
        # General Options:
        'help|h' => undef,
        'version' => undef,
        'update|U' => undef,
        'ignore-errors|no-abort-on-error|i' => undef,
        'abort-on-error|no-ignore-errors' => undef,
        'dump-user-agent' => undef,
        'list-extractors' => undef,
        'extractor-descriptions' => undef,
        'force-generic-extractor' => undef,
        'default-search=s' => {completion=>["gvsearch2:", "auto", "auto_warning", "error", "fixup_error"]},
        'ignore-config' => undef,
        'config-location=s' => {completion => $comp_file},
        'flat-playlist' => undef,
        'mark-watched!' => undef,
        'no-color' => undef,
        'compat-options=s' => undef,

        # Network Options:
        'proxy=s' => undef,
        'socket-timeout=i' => undef,
        'source-address=s' => undef,
        'force-ipv4|4' => undef,
        'force-ipv6|6' => undef,

        # Geo-restrictions:
        'geo-verification-proxy=s' => undef,
        'geo-bypass!' => undef,
        'geo-bypass-country=s' => {completion=>$comp_country_code},
        'geo-bypass-ip-block=s' => undef,

        # Video Selection:
        'playlist-start=i' => undef,
        'playlist-end=i' => undef,
        'playlist-items=s' => undef, # e.g. 1,2,3,10-13
        'max-downloads=i' => undef,
        'min-filesize=s' => undef, # number or number with prefix
        'max-filesize=s' => undef, # number or number with prefix
        'date=s' => undef,
        'datebefore=s' => undef,
        'dateafter=s' => undef,
        'match-filter=s' => undef,
        'min-views=i' => undef,
        'max-views=i' => undef,
        'match-filter=s' => undef, # e.g. "like_count > 100 & dislike_count <? 50 & description"
        'no-match-filter' => undef,
        'no-playlist' => undef,
        'yes-playlist' => undef,
        'age-limit=i' => undef,
        'download-archive=s' => {completion=>$comp_file},
        'break-on-existing' => undef,
        '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,



( run in 1.013 second using v1.01-cache-2.11-cpan-b16cb0d3907 )