youtube-dl
-h, --help Print this help text and exit
--version Print program version and exit
-U, --update Update this program to latest version.
Make sure that you have sufficient
permissions (run with sudo if needed)
-i, --ignore-errors Continue on download errors, for
example to skip unavailable videos in a
playlist
--abort-on-error Abort downloading of further videos (in
the playlist or the command line) if an
error occurs
--dump-user-agent Display the current browser
identification
--list-extractors List all supported extractors
--extractor-descriptions Output descriptions of all supported
extractors
--force-generic-extractor Force extraction to use the generic
extractor
--default-search PREFIX 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.
--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/config
(%APPDATA%/youtube-dl/config.txt on
Windows)
--config-location PATH Location of the configuration file;
either the path to the config or its
containing directory.
--flat-playlist Do not extract the videos of a
playlist, only list them.
--mark-watched Mark videos watched (YouTube only)
--no-mark-watched Do not mark videos watched (YouTube
only)
--no-color Do not emit color codes in output
YOUTUBE-DL
youtube-dl -f 22 --write-description --write-auto-sub --sub-lang en --autonumber-size [number] -o "%(autonumber)s-%(title)s.%(ext)s" [playlist-id]
youtube-dl
youtube-dl --download-archive archive.txt --cookies cookies.txt -o "%(playlist_index)s - %(title)s.%(ext)s" https:www.YourCourseURL.com --playlist-start 1 --all-subs -f "best[height=720]"
youtube dl
720p:
youtube-dl -f 22 http://www.youtube.com/watch?v=dQw4w9WgXcQ
360p:
youtube-dl -f 18 http://www.youtube.com/watch?v=dQw4w9WgXcQ
other formats:
https://www.reddit.com/r/youtubedl/comments/aa6uvq/how_do_i_download_a_video_or_playlist_at_480p_only/
youtube-dl
youtube-dl -f 22 -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" https://www.youtube.com/playlist?list=PLvBBnHmZuNQKLGcp0Yh8pCfEez43_l8Ts
# for android
https://fizzy.center/2020/03/11/using-youtube-dl-on-android
youtube-dl
youtube-dl -o "%USERPROFILE%\Desktop\statquest\%(autonumber)s-%(title)s.%(ext)s" -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --merge-output-format mp4 https://www.youtube.com/playlist?list=PLblh5JKOoLUICTaGLRoHQDuF_7q2GfuJF
|