]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube-dl.fish
bf9bae6cdc2b9f057a4c4fb3a1a11cedfd0509c4
[youtubedl] / youtube-dl.fish
1
2 complete --command youtube-dl --long-option help --short-option h --description 'print this help text and exit'
3 complete --command youtube-dl --long-option version --description 'print program version and exit'
4 complete --command youtube-dl --long-option update --short-option U --description 'update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)'
5 complete --command youtube-dl --long-option ignore-errors --short-option i --description 'continue on download errors, for example to skip unavailable videos in a playlist'
6 complete --command youtube-dl --long-option abort-on-error --description 'Abort downloading of further videos (in the playlist or the command line) if an error occurs'
7 complete --command youtube-dl --long-option dump-user-agent --description 'display the current browser identification'
8 complete --command youtube-dl --long-option list-extractors --description 'List all supported extractors and the URLs they would handle'
9 complete --command youtube-dl --long-option extractor-descriptions --description 'Output descriptions of all supported extractors'
10 complete --command youtube-dl --long-option proxy --description 'Use the specified HTTP/HTTPS proxy. Pass in an empty string (--proxy "") for direct connection'
11 complete --command youtube-dl --long-option socket-timeout --description 'Time to wait before giving up, in seconds'
12 complete --command youtube-dl --long-option default-search --description 'Use this prefix for unqualified URLs. For example "gvsearch2:" downloads two videos from google videos for youtube-dl "large apple". Use the value "auto" to let youtube-dl guess ("auto_warning" to emit a warning when guessing). "error" just throws an error. The default value "fixup_error" repairs broken URLs, but emits an error if this is not possible instead of searching.'
13 complete --command youtube-dl --long-option ignore-config --description 'Do not read configuration files. When given in the global configuration file /etc/youtube-dl.conf: do not read the user configuration in ~/.config/youtube-dl.conf (%APPDATA%/youtube-dl/config.txt on Windows)'
14 complete --command youtube-dl --long-option flat-playlist --description 'Do not extract the videos of a playlist, only list them.'
15 complete --command youtube-dl --long-option playlist-start --description 'playlist video to start at (default is %default)'
16 complete --command youtube-dl --long-option playlist-end --description 'playlist video to end at (default is last)'
17 complete --command youtube-dl --long-option match-title --description 'download only matching titles (regex or caseless sub-string)'
18 complete --command youtube-dl --long-option reject-title --description 'skip download for matching titles (regex or caseless sub-string)'
19 complete --command youtube-dl --long-option max-downloads --description 'Abort after downloading NUMBER files'
20 complete --command youtube-dl --long-option min-filesize --description 'Do not download any videos smaller than SIZE (e.g. 50k or 44.6m)'
21 complete --command youtube-dl --long-option max-filesize --description 'Do not download any videos larger than SIZE (e.g. 50k or 44.6m)'
22 complete --command youtube-dl --long-option date --description 'download only videos uploaded in this date'
23 complete --command youtube-dl --long-option datebefore --description 'download only videos uploaded on or before this date (i.e. inclusive)'
24 complete --command youtube-dl --long-option dateafter --description 'download only videos uploaded on or after this date (i.e. inclusive)'
25 complete --command youtube-dl --long-option min-views --description 'Do not download any videos with less than COUNT views'
26 complete --command youtube-dl --long-option max-views --description 'Do not download any videos with more than COUNT views'
27 complete --command youtube-dl --long-option no-playlist --description 'download only the currently playing video'
28 complete --command youtube-dl --long-option age-limit --description 'download only videos suitable for the given age'
29 complete --command youtube-dl --long-option download-archive --description 'Download only videos not listed in the archive file. Record the IDs of all downloaded videos in it.' --require-parameter
30 complete --command youtube-dl --long-option include-ads --description 'Download advertisements as well (experimental)'
31 complete --command youtube-dl --long-option rate-limit --short-option r --description 'maximum download rate in bytes per second (e.g. 50K or 4.2M)'
32 complete --command youtube-dl --long-option retries --short-option R --description 'number of retries (default is %default)'
33 complete --command youtube-dl --long-option buffer-size --description 'size of download buffer (e.g. 1024 or 16K) (default is %default)'
34 complete --command youtube-dl --long-option no-resize-buffer --description 'do not automatically adjust the buffer size. By default, the buffer size is automatically resized from an initial value of SIZE.'
35 complete --command youtube-dl --long-option test
36 complete --command youtube-dl --long-option batch-file --short-option a --description 'file containing URLs to download ('"'"'-'"'"' for stdin)' --require-parameter
37 complete --command youtube-dl --long-option id --description 'use only video ID in file name'
38 complete --command youtube-dl --long-option auto-number --short-option A --description 'number downloaded files starting from 00000'
39 complete --command youtube-dl --long-option output --short-option o --description 'output filename template. Use %(title)s to get the title, %(uploader)s for the uploader name, %(uploader_id)s for the uploader nickname if different, %(autonumber)s to get an automatically incremented number, %(ext)s for the filename extension, %(format)s for the format description (like "22 - 1280x720" or "HD"), %(format_id)s for the unique id of the format (like Youtube'"'"'s itags: "137"), %(upload_date)s for the upload date (YYYYMMDD), %(extractor)s for the provider (youtube, metacafe, etc), %(id)s for the video id, %(playlist)s for the playlist the video is in, %(playlist_index)s for the position in the playlist and %% for a literal percent. %(height)s and %(width)s for the width and height of the video format. %(resolution)s for a textual description of the resolution of the video format. Use - to output to stdout. Can also be used to download to a different directory, for example with -o '"'"'/my/downloads/%(uploader)s/%(title)s-%(id)s.%(ext)s'"'"' .'
40 complete --command youtube-dl --long-option autonumber-size --description 'Specifies the number of digits in %(autonumber)s when it is present in output filename template or --auto-number option is given'
41 complete --command youtube-dl --long-option restrict-filenames --description 'Restrict filenames to only ASCII characters, and avoid "&" and spaces in filenames'
42 complete --command youtube-dl --long-option title --short-option t --description '[deprecated] use title in file name (default)'
43 complete --command youtube-dl --long-option literal --short-option l --description '[deprecated] alias of --title'
44 complete --command youtube-dl --long-option no-overwrites --short-option w --description 'do not overwrite files'
45 complete --command youtube-dl --long-option continue --short-option c --description 'force resume of partially downloaded files. By default, youtube-dl will resume downloads if possible.'
46 complete --command youtube-dl --long-option no-continue --description 'do not resume partially downloaded files (restart from beginning)'
47 complete --command youtube-dl --long-option no-part --description 'do not use .part files - write directly into output file'
48 complete --command youtube-dl --long-option no-mtime --description 'do not use the Last-modified header to set the file modification time'
49 complete --command youtube-dl --long-option write-description --description 'write video description to a .description file'
50 complete --command youtube-dl --long-option write-info-json --description 'write video metadata to a .info.json file'
51 complete --command youtube-dl --long-option write-annotations --description 'write video annotations to a .annotation file'
52 complete --command youtube-dl --long-option write-thumbnail --description 'write thumbnail image to disk'
53 complete --command youtube-dl --long-option load-info --description 'json file containing the video information (created with the "--write-json" option)' --require-parameter
54 complete --command youtube-dl --long-option cookies --description 'file to read cookies from and dump cookie jar in' --require-parameter
55 complete --command youtube-dl --long-option cache-dir --description 'Location in the filesystem where youtube-dl can store some downloaded information permanently. By default $XDG_CACHE_HOME/youtube-dl or ~/.cache/youtube-dl . At the moment, only YouTube player files (for videos with obfuscated signatures) are cached, but that may change.'
56 complete --command youtube-dl --long-option no-cache-dir --description 'Disable filesystem caching'
57 complete --command youtube-dl --long-option rm-cache-dir --description 'Delete all filesystem cache files'
58 complete --command youtube-dl --long-option quiet --short-option q --description 'activates quiet mode'
59 complete --command youtube-dl --long-option no-warnings --description 'Ignore warnings'
60 complete --command youtube-dl --long-option simulate --short-option s --description 'do not download the video and do not write anything to disk'
61 complete --command youtube-dl --long-option skip-download --description 'do not download the video'
62 complete --command youtube-dl --long-option get-url --short-option g --description 'simulate, quiet but print URL'
63 complete --command youtube-dl --long-option get-title --short-option e --description 'simulate, quiet but print title'
64 complete --command youtube-dl --long-option get-id --description 'simulate, quiet but print id'
65 complete --command youtube-dl --long-option get-thumbnail --description 'simulate, quiet but print thumbnail URL'
66 complete --command youtube-dl --long-option get-description --description 'simulate, quiet but print video description'
67 complete --command youtube-dl --long-option get-duration --description 'simulate, quiet but print video length'
68 complete --command youtube-dl --long-option get-filename --description 'simulate, quiet but print output filename'
69 complete --command youtube-dl --long-option get-format --description 'simulate, quiet but print output format'
70 complete --command youtube-dl --long-option dump-json --short-option j --description 'simulate, quiet but print JSON information. See --output for a description of available keys.'
71 complete --command youtube-dl --long-option dump-single-json --short-option J --description 'simulate, quiet but print JSON information for each command-line argument. If the URL refers to a playlist, dump the whole playlist information in a single line.'
72 complete --command youtube-dl --long-option newline --description 'output progress bar as new lines'
73 complete --command youtube-dl --long-option no-progress --description 'do not print progress bar'
74 complete --command youtube-dl --long-option console-title --description 'display progress in console titlebar'
75 complete --command youtube-dl --long-option verbose --short-option v --description 'print various debugging information'
76 complete --command youtube-dl --long-option dump-intermediate-pages --description 'print downloaded pages to debug problems (very verbose)'
77 complete --command youtube-dl --long-option write-pages --description 'Write downloaded intermediary pages to files in the current directory to debug problems'
78 complete --command youtube-dl --long-option youtube-print-sig-code
79 complete --command youtube-dl --long-option print-traffic --description 'Display sent and read HTTP traffic'
80 complete --command youtube-dl --long-option encoding --description 'Force the specified encoding (experimental)'
81 complete --command youtube-dl --long-option no-check-certificate --description 'Suppress HTTPS certificate validation.'
82 complete --command youtube-dl --long-option prefer-insecure --description 'Use an unencrypted connection to retrieve information about the video. (Currently supported only for YouTube)'
83 complete --command youtube-dl --long-option user-agent --description 'specify a custom user agent'
84 complete --command youtube-dl --long-option referer --description 'specify a custom referer, use if the video access is restricted to one domain'
85 complete --command youtube-dl --long-option add-header --description 'specify a custom HTTP header and its value, separated by a colon '"'"':'"'"'. You can use this option multiple times'
86 complete --command youtube-dl --long-option bidi-workaround --description 'Work around terminals that lack bidirectional text support. Requires bidiv or fribidi executable in PATH'
87 complete --command youtube-dl --long-option format --short-option f --description 'video format code, specify the order of preference using slashes: -f 22/17/18 . -f mp4 , -f m4a and -f flv are also supported. You can also use the special names "best", "bestvideo", "bestaudio", "worst", "worstvideo" and "worstaudio". By default, youtube-dl will pick the best quality. Use commas to download multiple audio formats, such as -f 136/137/mp4/bestvideo,140/m4a/bestaudio'
88 complete --command youtube-dl --long-option all-formats --description 'download all available video formats'
89 complete --command youtube-dl --long-option prefer-free-formats --description 'prefer free video formats unless a specific one is requested'
90 complete --command youtube-dl --long-option max-quality --description 'highest quality format to download'
91 complete --command youtube-dl --long-option list-formats --short-option F --description 'list all available formats'
92 complete --command youtube-dl --long-option youtube-include-dash-manifest
93 complete --command youtube-dl --long-option youtube-skip-dash-manifest --description 'Do not download the DASH manifest on YouTube videos'
94 complete --command youtube-dl --long-option write-sub --description 'write subtitle file'
95 complete --command youtube-dl --long-option write-auto-sub --description 'write automatic subtitle file (youtube only)'
96 complete --command youtube-dl --long-option all-subs --description 'downloads all the available subtitles of the video'
97 complete --command youtube-dl --long-option list-subs --description 'lists all available subtitles for the video'
98 complete --command youtube-dl --long-option sub-format --description 'subtitle format (default=srt) ([sbv/vtt] youtube only)'
99 complete --command youtube-dl --long-option sub-lang --description 'languages of the subtitles to download (optional) separated by commas, use IETF language tags like '"'"'en,pt'"'"''
100 complete --command youtube-dl --long-option username --short-option u --description 'login with this account ID'
101 complete --command youtube-dl --long-option password --short-option p --description 'account password'
102 complete --command youtube-dl --long-option twofactor --short-option 2 --description 'two-factor auth code'
103 complete --command youtube-dl --long-option netrc --short-option n --description 'use .netrc authentication data'
104 complete --command youtube-dl --long-option video-password --description 'video password (vimeo, smotri)'
105 complete --command youtube-dl --long-option extract-audio --short-option x --description 'convert video files to audio-only files (requires ffmpeg or avconv and ffprobe or avprobe)'
106 complete --command youtube-dl --long-option audio-format --description '"best", "aac", "vorbis", "mp3", "m4a", "opus", or "wav"; "%default" by default'
107 complete --command youtube-dl --long-option audio-quality --description 'ffmpeg/avconv audio quality specification, insert a value between 0 (better) and 9 (worse) for VBR or a specific bitrate like 128K (default %default)'
108 complete --command youtube-dl --long-option recode-video --description 'Encode the video to another format if necessary (currently supported: mp4|flv|ogg|webm|mkv)' --arguments 'mp4 flv ogg webm mkv' --exclusive
109 complete --command youtube-dl --long-option keep-video --short-option k --description 'keeps the video file on disk after the post-processing; the video is erased by default'
110 complete --command youtube-dl --long-option no-post-overwrites --description 'do not overwrite post-processed files; the post-processed files are overwritten by default'
111 complete --command youtube-dl --long-option embed-subs --description 'embed subtitles in the video (only for mp4 videos)'
112 complete --command youtube-dl --long-option embed-thumbnail --description 'embed thumbnail in the audio as cover art'
113 complete --command youtube-dl --long-option add-metadata --description 'write metadata to the video file'
114 complete --command youtube-dl --long-option xattrs --description 'write metadata to the video file'"'"'s xattrs (using dublin core and xdg standards)'
115 complete --command youtube-dl --long-option prefer-avconv --description 'Prefer avconv over ffmpeg for running the postprocessors (default)'
116 complete --command youtube-dl --long-option prefer-ffmpeg --description 'Prefer ffmpeg over avconv for running the postprocessors'
117 complete --command youtube-dl --long-option exec --description 'Execute a command on the file after downloading, similar to find'"'"'s -exec syntax. Example: --exec '"'"'adb push {} /sdcard/Music/ && rm {}'"'"''
118
119
120 complete --command youtube-dl --arguments ":ytfavorites :ytrecommended :ytsubscriptions :ytwatchlater :ythistory"