.. program:: youtube-dl General Options --------------- .. option:: -h, --help print this help text and exit .. option:: --version print program version and exit .. option:: -U, --update update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed) .. option:: -i, --ignore-errors continue on download errors, for example to skip unavailable videos in a playlist .. option:: --abort-on-error Abort downloading of further videos (in the playlist or the command line) if an error occurs .. option:: --dump-user-agent display the current browser identification .. option:: --user-agent specify a custom user agent .. option:: --referer specify a custom referer, use if the video access is restricted to one domain .. option:: --add-header specify a custom HTTP header and its value, separated by a colon ':'. You can use this option multiple times .. option:: --list-extractors List all supported extractors and the URLs they would handle .. option:: --extractor-descriptions Output descriptions of all supported extractors .. option:: --proxy Use the specified HTTP/HTTPS proxy. Pass in an empty string (--proxy "") for direct connection .. option:: --no-check-certificate Suppress HTTPS certificate validation. .. option:: --prefer-insecure, --prefer-unsecure Use an unencrypted connection to retrieve information about the video. (Currently supported only for YouTube) .. option:: --cache-dir 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. .. option:: --no-cache-dir Disable filesystem caching .. option:: --socket-timeout Time to wait before giving up, in seconds .. option:: --bidi-workaround Work around terminals that lack bidirectional text support. Requires bidiv or fribidi executable in PATH .. option:: --default-search Use this prefix for unqualified URLs. For example "gvsearch2:" downloads two videos from google videos for youtube-dl "large apple". By default (with value "auto") youtube-dl guesses. .. option:: --ignore-config 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) .. option:: --encoding Force the specified encoding (experimental) Video Selection --------------- .. option:: --playlist-start playlist video to start at (default is %default) .. option:: --playlist-end playlist video to end at (default is last) .. option:: --match-title download only matching titles (regex or caseless sub-string) .. option:: --reject-title skip download for matching titles (regex or caseless sub-string) .. option:: --max-downloads Abort after downloading NUMBER files .. option:: --min-filesize Do not download any videos smaller than SIZE (e.g. 50k or 44.6m) .. option:: --max-filesize Do not download any videos larger than SIZE (e.g. 50k or 44.6m) .. option:: --date download only videos uploaded in this date .. option:: --datebefore download only videos uploaded on or before this date (i.e. inclusive) .. option:: --dateafter download only videos uploaded on or after this date (i.e. inclusive) .. option:: --min-views Do not download any videos with less than COUNT views .. option:: --max-views Do not download any videos with more than COUNT views .. option:: --no-playlist download only the currently playing video .. option:: --age-limit download only videos suitable for the given age .. option:: --download-archive Download only videos not listed in the archive file. Record the IDs of all downloaded videos in it. .. option:: --include-ads Download advertisements as well (experimental) .. option:: --youtube-include-dash-manifest Try to download the DASH manifest on YouTube videos (experimental) Download Options ---------------- .. option:: -r, --rate-limit maximum download rate in bytes per second (e.g. 50K or 4.2M) .. option:: -R, --retries number of retries (default is %default) .. option:: --buffer-size size of download buffer (e.g. 1024 or 16K) (default is %default) .. option:: --no-resize-buffer do not automatically adjust the buffer size. By default, the buffer size is automatically resized from an initial value of SIZE. .. option:: --test SUPPRESSHELP Filesystem Options ------------------ .. option:: -t, --title use title in file name (default) .. option:: --id use only video ID in file name .. option:: -l, --literal [deprecated] alias of --title .. option:: -A, --auto-number number downloaded files starting from 00000 .. option:: -o, --output