.\" Automatically generated by Pandoc 1.19.2.4 .\" .TH "youtube\-dlc" "1" "" "" "" .hy .SH NAME .PP youtube\-dl \- download videos from youtube.com or other video platforms .SH SYNOPSIS .PP \f[B]youtube\-dlc\f[] [OPTIONS] URL [URL...] .SH DESCRIPTION .PP \f[B]youtube\-dlc\f[] is a command\-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS. It is released to the public domain, which means you can modify it, redistribute it or use it however you like. .SH OPTIONS .TP .B \-h, \-\-help Print this help text and exit .RS .RE .TP .B \-\-version Print program version and exit .RS .RE .TP .B \-U, \-\-update Update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed) .RS .RE .TP .B \-i, \-\-ignore\-errors Continue on download errors, for example to skip unavailable videos in a playlist .RS .RE .TP .B \-\-abort\-on\-error Abort downloading of further videos (in the playlist or the command line) if an error occurs .RS .RE .TP .B \-\-dump\-user\-agent Display the current browser identification .RS .RE .TP .B \-\-list\-extractors List all supported extractors .RS .RE .TP .B \-\-extractor\-descriptions Output descriptions of all supported extractors .RS .RE .TP .B \-\-force\-generic\-extractor Force extraction to use the generic extractor .RS .RE .TP .B \-\-default\-search \f[I]PREFIX\f[] Use this prefix for unqualified URLs. For example "gvsearch2:" downloads two videos from google videos for youtube\-dlc "large apple". Use the value "auto" to let youtube\-dlc 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. .RS .RE .TP .B \-\-ignore\-config Do not read configuration files. When given in the global configuration file /etc/youtube\-dlc.conf: Do not read the user configuration in ~/.config/youtube\- dlc/config (%APPDATA%/youtube\- dlc/config.txt on Windows) .RS .RE .TP .B \-\-config\-location \f[I]PATH\f[] Location of the configuration file; either the path to the config or its containing directory. .RS .RE .TP .B \-\-flat\-playlist Do not extract the videos of a playlist, only list them. .RS .RE .TP .B \-\-mark\-watched Mark videos watched (YouTube only) .RS .RE .TP .B \-\-no\-mark\-watched Do not mark videos watched (YouTube only) .RS .RE .TP .B \-\-no\-color Do not emit color codes in output .RS .RE .SS Network Options: .TP .B \-\-proxy \f[I]URL\f[] Use the specified HTTP/HTTPS/SOCKS proxy. To enable SOCKS proxy, specify a proper scheme. For example socks5://127.0.0.1:1080/. Pass in an empty string (\-\-proxy "") for direct connection .RS .RE .TP .B \-\-socket\-timeout \f[I]SECONDS\f[] Time to wait before giving up, in seconds .RS .RE .TP .B \-\-source\-address \f[I]IP\f[] Client\-side IP address to bind to .RS .RE .TP .B \-4, \-\-force\-ipv4 Make all connections via IPv4 .RS .RE .TP .B \-6, \-\-force\-ipv6 Make all connections via IPv6 .RS .RE .SS Geo Restriction: .TP .B \-\-geo\-verification\-proxy \f[I]URL\f[] Use this proxy to verify the IP address for some geo\-restricted sites. The default proxy specified by \-\-proxy (or none, if the option is not present) is used for the actual downloading. .RS .RE .TP .B \-\-geo\-bypass Bypass geographic restriction via faking X\-Forwarded\-For HTTP header .RS .RE .TP .B \-\-no\-geo\-bypass Do not bypass geographic restriction via faking X\-Forwarded\-For HTTP header .RS .RE .TP .B \-\-geo\-bypass\-country \f[I]CODE\f[] Force bypass geographic restriction with explicitly provided two\-letter ISO 3166\-2 country code .RS .RE .TP .B \-\-geo\-bypass\-ip\-block \f[I]IP_BLOCK\f[] Force bypass geographic restriction with explicitly provided IP block in CIDR notation .RS .RE .SS Video Selection: .TP .B \-\-playlist\-start \f[I]NUMBER\f[] Playlist video to start at (default is 1) .RS .RE .TP .B \-\-playlist\-end \f[I]NUMBER\f[] Playlist video to end at (default is last) .RS .RE .TP .B \-\-playlist\-items \f[I]ITEM_SPEC\f[] Playlist video items to download. Specify indices of the videos in the playlist separated by commas like: "\-\-playlist\-items 1,2,5,8" if you want to download videos indexed 1, 2, 5, 8 in the playlist. You can specify range: "\-\-playlist\-items 1\-3,7,10\-13", it will download the videos at index 1, 2, 3, 7, 10, 11, 12 and 13. .RS .RE .TP .B \-\-match\-title \f[I]REGEX\f[] Download only matching titles (regex or caseless sub\-string) .RS .RE .TP .B \-\-reject\-title \f[I]REGEX\f[] Skip download for matching titles (regex or caseless sub\-string) .RS .RE .TP .B \-\-max\-downloads \f[I]NUMBER\f[] Abort after downloading NUMBER files .RS .RE .TP .B \-\-min\-filesize \f[I]SIZE\f[] Do not download any videos smaller than SIZE (e.g. 50k or 44.6m) .RS .RE .TP .B \-\-max\-filesize \f[I]SIZE\f[] Do not download any videos larger than SIZE (e.g. 50k or 44.6m) .RS .RE .TP .B \-\-date \f[I]DATE\f[] Download only videos uploaded in this date .RS .RE .TP .B \-\-datebefore \f[I]DATE\f[] Download only videos uploaded on or before this date (i.e. inclusive) .RS .RE .TP .B \-\-dateafter \f[I]DATE\f[] Download only videos uploaded on or after this date (i.e. inclusive) .RS .RE .TP .B \-\-min\-views \f[I]COUNT\f[] Do not download any videos with less than COUNT views .RS .RE .TP .B \-\-max\-views \f[I]COUNT\f[] Do not download any videos with more than COUNT views .RS .RE .TP .B \-\-match\-filter \f[I]FILTER\f[] Generic video filter. Specify any key (see the "OUTPUT TEMPLATE" for a list of available keys) to match if the key is present, !key to check if the key is not present, key > NUMBER (like "comment_count > 12", also works with >=, <, <=, !=, =) to compare against a number, key = \[aq]LITERAL\[aq] (like "uploader = \[aq]Mike Smith\[aq]", also works with !=) to match against a string literal and & to require multiple matches. Values which are not known are excluded unless you put a question mark (?) after the operator. For example, to only match videos that have been liked more than 100 times and disliked less than 50 times (or the dislike functionality is not available at the given service), but who also have a description, use \-\-match\-filter "like_count > 100 & dislike_count