YouTube-dl is now part of GitHub/dmca.git


Build Status

youtube-dl – accumulate movies from youtube.com or different video platforms

  • INSTALLATION
  • DESCRIPTION
  • OPTIONS
  • CONFIGURATION
  • OUTPUT TEMPLATE
  • FORMAT SELECTION
  • VIDEO SELECTION
  • FAQ
  • DEVELOPER INSTRUCTIONS
  • EMBEDDING YOUTUBE-DL
  • BUGS
  • COPYRIGHT

To set up it graceful away for all UNIX customers (Linux, macOS, etc.), form:

sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl

Within the occasion you attain now now not own curl, that it’s doubtless you’ll also alternatively exhaust a contemporary wget:

sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl

Windows customers can accumulate an .exe file and area it in any intention on their PATH with the exception of for %SYSTEMROOT%Draw32 (e.g. attain now now not put in C:WindowsDraw32).

It is doubtless you’ll presumably moreover exhaust pip:

sudo -H pip set up --enhance youtube-dl

This converse will replace youtube-dl whereas you’re going to own already installed it. Scrutinize the pypi page for additional data.

macOS customers can set up youtube-dl with Homebrew:

brew set up youtube-dl

Or with MacPorts:

sudo port set up youtube-dl

Alternatively, discuss with the developer instructions for a technique to overview out and work with the git repository. For extra alternate options, including PGP signatures, peep the youtube-dl Win Web grunt.

youtube-dl is a converse-line program to accumulate movies from YouTube.com and some extra sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it’s miles now now not platform explicit. It is going to aloof work on your Unix box, on Windows or on macOS. It is launched to the overall public domain, that technique that it’s doubtless you’ll also adjust it, redistribute it or exhaust it nonetheless you indulge in.

youtube-dl [OPTIONS] URL [URL...]
-h, --lend a hand                       Print this lend a hand textual grunt material and exit
--version                        Print program version and exit
-U, --replace                     Update this program to latest version. Damage
                                 particular that you're going to own ample permissions
                                 (flee with sudo if main)
-i, --ignore-errors              Continue on accumulate errors, as an instance to
                                 skip unavailable movies in a playlist
--abort-on-error                 Abort downloading of extra movies (within the
                                 playlist or the converse line) if an error
                                 happens
--dump-particular person-agent                Show the present browser identification
--list-extractors                Checklist all supported extractors
--extractor-descriptions         Output descriptions of all supported
                                 extractors
--force-generic-extractor        Force extraction to exhaust the generic
                                 extractor
--default-search PREFIX          Use this prefix for unqualified URLs. For
                                 example "gvsearch2:" downloads two movies
                                 from google movies for youtube-dl "gigantic
                                 apple". Use the value "auto" to let
                                 youtube-dl wager ("auto_warning" to emit a
                                 warning when guessing). "error" honest correct throws
                                 an error. The default assign "fixup_error"
                                 repairs damaged URLs, but emits an error if
                                 here is now now not that that it's doubtless you'll also imagine as an different of hunting.
--ignore-config                  Enact now now not read configuration files. When given
                                 within the worldwide configuration file
                                 /etc/youtube-dl.conf: Enact now now not read the particular person
                                 configuration in ~/.config/youtube-
                                 dl/config (%APPDATA%/youtube-dl/config.txt
                                 on Windows)
--config-intention PATH           Blueprint of the configuration file; both
                                 the lunge to the config or its containing
                                 directory.
--flat-playlist                  Enact now now not extract the flicks of a playlist,
                                 only list them.
--stamp-watched                   Stamp movies watched (YouTube only)
--no-stamp-watched                Enact now now not stamp movies watched (YouTube only)
--no-coloration                       Enact now now not emit coloration codes in output

Community Alternate options:

--proxy URL                      Use the specified HTTP/HTTPS/SOCKS proxy.
                                 To enable SOCKS proxy, specify a correct
                                 scheme. To illustrate
                                 socks5://127.0.0.1: 1080/. Circulate in an empty
                                 string (--proxy "") for grunt connection
--socket-timeout SECONDS         Time to relief before giving up, in seconds
--provide-tackle IP              Consumer-aspect IP tackle to bind to
-4, --force-ipv4                 Damage all connections by strategy of IPv4
-6, --force-ipv6                 Damage all connections by strategy of IPv6

Geo Restriction:

--geo-verification-proxy URL     Use this proxy to substantiate the IP tackle for
                                 some geo-restricted sites. The default
                                 proxy specified by --proxy (or none, if the
                                 option is now now not present) is outmoded for the
                                 true downloading.
--geo-bypass                     Bypass geographic restriction by strategy of faking
                                 X-Forwarded-For HTTP header
--no-geo-bypass                  Enact now now not bypass geographic restriction by strategy of
                                 faking X-Forwarded-For HTTP header
--geo-bypass-nation CODE        Force bypass geographic restriction with
                                 explicitly equipped two-letter ISO 3166-2
                                 nation code
--geo-bypass-ip-block IP_BLOCK   Force bypass geographic restriction with
                                 explicitly equipped IP block in CIDR
                                 notation

Video Need:

--playlist-originate NUMBER          Playlist video to originate at (default is 1)
--playlist-discontinue NUMBER            Playlist video to full at (default is closing)
--playlist-objects ITEM_SPEC       Playlist video objects to accumulate. Specify
                                 indices of the flicks within the playlist
                                 separated by commas indulge in: "--playlist-objects
                                 1,2,5,8" whereas you indulge in to favor to accumulate movies
                                 listed 1, 2, 5, 8 within the playlist. It is doubtless you'll presumably
                                 specify differ: "--playlist-objects
                                 1-3,7,10-13", this could accumulate the flicks
                                 at index 1, 2, 3, 7, 10, 11, 12 and 13.
--match-title REGEX              Win only matching titles (regex or
                                 caseless sub-string)
--reject-title REGEX             Skip accumulate for matching titles (regex or
                                 caseless sub-string)
--max-downloads NUMBER           Abort after downloading NUMBER files
--min-filesize SIZE              Enact now now not accumulate any movies smaller than
                                 SIZE (e.g. 50k or 44.6m)
--max-filesize SIZE              Enact now now not accumulate any movies bigger than SIZE
                                 (e.g. 50k or 44.6m)
--date DATE                      Win only movies uploaded in this date
--datebefore DATE                Win only movies uploaded on or before
                                 this date (i.e. inclusive)
--dateafter DATE                 Win only movies uploaded on or after
                                 this date (i.e. inclusive)
--min-views COUNT                Enact now now not accumulate any movies with much less than
                                 COUNT views
--max-views COUNT                Enact now now not accumulate any movies with extra than
                                 COUNT views
--match-filter FILTER            Generic video filter. Specify any key (peep
                                 the "OUTPUT TEMPLATE" for a list of
                                 accessible keys) to examine if the bottom line is
                                 present, !key to overview if the bottom line is now now not
                                 present, key> NUMBER (indulge in "comment_count
                                > 12", moreover works with>=,  100 &
                                 dislike_count  50 & description" .
--no-playlist                    Win only the video, if the URL refers
                                 to a video and a playlist.
--crawl-playlist                   Win the playlist, if the URL refers to
                                 a video and a playlist.
--age-restrict YEARS                Win only movies sterling for the given
                                 age
--accumulate-archive FILE          Win only movies now now not listed within the
                                 archive file. File the IDs of all
                                 downloaded movies in it.
--encompass-adverts                    Win adverts as neatly
                                 (experimental)

Win

Read More

Recent Content