youtube-dl - safe films 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 put in it factual away for all UNIX prospects (Linux, macOS, and so forth.), kind:
sudo curl -L https://yt-dl.org/downloads/newest/youtube-dl -o /usr/native/bin/youtube-dl
sudo chmod a+rx /usr/native/bin/youtube-dl
Whilst you raise out not obtain curl, you most greater than seemingly can alternatively expend a latest wget:
sudo wget https://yt-dl.org/downloads/newest/youtube-dl -O /usr/native/bin/youtube-dl
sudo chmod a+rx /usr/native/bin/youtube-dl
Windows prospects can safe an .exe file and construct it in any design on their PATH with the exception of for %SYSTEMROOTpercentSystem32
(e.g. raise out not put in C:WindowsSystem32
).
You could perchance moreover expend pip:
sudo -H pip set up --red meat up youtube-dl
This account for will change youtube-dl in case you obtain already put in it. Gaze the pypi web web page for extra data.
macOS prospects can set up youtube-dl with Homebrew:
brew set up youtube-dl
Or with MacPorts:
sudo port set up youtube-dl
Alternatively, seek the advice of with the developer instructions for check out out and work with the git repository. For additional options, on the aspect of PGP signatures, watch the youtube-dl Web Web web page.
youtube-dl is a account for-line program to safe films from YouTube.com and some extra web websites. It requires the Python interpreter, mannequin 2.6, 2.7, or 3.2+, and it is not platform explicit. It could perchance moreover restful work in your Unix subject, on Windows or on macOS. It is miles launched to most of the people space, which process you most greater than seemingly can alter it, redistribute it or expend it nonetheless you admire.
youtube-dl [OPTIONS] URL [URL...]
-h, --succor Print this succor textual whisper materials and exit
--model Print program mannequin and exit
-U, --replace Replace this program to newest mannequin. Compose
certain that you simply simply obtain ample permissions
(bustle with sudo if essential)
-i, --ignore-errors Continue on safe errors, for instance to
skip unavailable films in a playlist
--abort-on-error Abort downloading of extra films (within the
playlist or the account for line) if an error
occurs
--dump-user-agent Picture the latest browser identification
--list-extractors Checklist all supported extractors
--extractor-descriptions Output descriptions of all supported
extractors
--force-generic-extractor Force extraction to expend the generic
extractor
--default-search PREFIX Use this prefix for unqualified URLs. For
occasion "gvsearch2:" downloads two films
from google films for youtube-dl "monumental
apple". Use the fee "auto" to let
youtube-dl wager ("auto_warning" to emit a
warning when guessing). "error" supreme-wanting throws
an error. The default fee "fixup_error"
repairs damaged URLs, however emits an error if
that is not doable as an totally different of looking.
--ignore-config Kind not learn configuration information. When given
within the worldwide configuration file
/and so forth/youtube-dl.conf: Kind not learn the consumer
configuration in ~/.config/youtube-
dl/config (%APPDATA%/youtube-dl/config.txt
on Windows)
--config-design PATH Location of the configuration file; each
the trail to the config or its containing
guidelines.
--flat-playlist Kind not extract the flicks of a playlist,
most intriguing listing them.
--set apart-watched Mark films watched (YouTube most intriguing)
--no-set apart-watched Kind not set aside films watched (YouTube most intriguing)
--no-colour Kind not emit color codes in output
Network Choices:
--proxy URL Use the required HTTP/HTTPS/SOCKS proxy.
To allow SOCKS proxy, specify a factual
design. As an illustration
socks5://127.0.0.1: 1080/. Pass in an empty
string (--proxy "") for mumble connection
--socket-timeout SECONDS Time to succor prior to giving up, in seconds
--supply-address IP Client-facet IP deal with to bind to
-4, --force-ipv4 Compose all connections by way of IPv4
-6, --force-ipv6 Compose all connections by way of IPv6
Geo Restriction:
--geo-verification-proxy URL Use this proxy to look at the IP deal with for
some geo-restricted web websites. The default
proxy specified by --proxy (or none, if the
chance is not cloak) is frail for the
proper downloading.
--geo-bypass Bypass geographic restriction by way of faking
X-Forwarded-For HTTP header
--no-geo-bypass Kind not bypass geographic restriction by way of
faking X-Forwarded-For HTTP header
--geo-bypass-country 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-cease NUMBER Playlist video to full at (default is remaining)
--playlist-items ITEM_SPEC Playlist video gadgets to safe. Specify
indices of the flicks within the playlist
separated by commas admire: "--playlist-items
1,2,5,8" in case you win to should safe films
listed 1, 2, 5, Eight within the playlist. You could perchance perchance
specify fluctuate: "--playlist-items
1-3,7,10-13", this could safe the flicks
at index 1, 2, 3, 7, 10, 11, 12 and 13.
--match-title REGEX Web most intriguing matching titles (regex or
caseless sub-string)
--reject-title REGEX Skip safe for matching titles (regex or
caseless sub-string)
--max-downloads NUMBER Abort after downloading NUMBER information
--min-filesize SIZE Kind not safe any films smaller than
SIZE (e.g. 50okay or 44.6m)
--max-filesize SIZE Kind not safe any films increased than SIZE
(e.g. 50okay or 44.6m)
--date DATE Web most intriguing films uploaded on this date
--datebefore DATE Web most intriguing films uploaded on or prior to
this date (i.e. inclusive)
--dateafter DATE Web most intriguing films uploaded on or after
this date (i.e. inclusive)
--min-views COUNT Kind not safe any films with decrease than
COUNT views
--max-views COUNT Kind not safe any films with increased than
COUNT views
--match-filter FILTER Generic video filter. Specify any key (watch
the "OUTPUT TEMPLATE" for an inventory of
available keys) to match if the important is
cloak, !key to look at if the important is not
cloak, key> NUMBER (admire "comment_count
> 12", additionally works with>=, 100 &
dislike_count 50 & description" .
--no-playlist Web most intriguing the video, if the URL refers
to a video and a playlist.
--yes-playlist Web the playlist, if the URL refers to
a video and a playlist.
--age-restrict YEARS Web most intriguing films like minded for the given
age
--secure-archive FILE Web most intriguing films not listed within the
archive file. Anecdote the IDs of all
downloaded films in it.
--consist of-advertisements Web adverts as correctly
(experimental)