mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +01:00
Added youtube-dl cheatsheet
This commit is contained in:
parent
6990807010
commit
9d9916251e
1 changed files with 20 additions and 0 deletions
20
cheatsheets/youtube-dl
Normal file
20
cheatsheets/youtube-dl
Normal file
|
@ -0,0 +1,20 @@
|
|||
# To download a video in 720p MP4:
|
||||
youtube-dl -f 22 example.com/watch?v=id
|
||||
|
||||
# To download a video in 720p MP4 or WebM or FLV:
|
||||
youtube-dl -f 22/45/120
|
||||
|
||||
# To list all available formats of a video:
|
||||
youtube-dl -F example.com/watch?v=id
|
||||
|
||||
# To download a video to /$uploader/$date/$title.$ext:
|
||||
youtube-dl -o '%(uploader)s/%(date)s/%(title)s.%(ext)s' example.com/watch?v=id
|
||||
|
||||
# To download a video playlist starting from a certain video:
|
||||
youtube-dl --playlist-start 5 example.com/watch?v=id&list=listid
|
||||
|
||||
# To simulate a download with youtube-dl:
|
||||
youtube-dl -s example.com/watch?v=id
|
||||
|
||||
# For all video formats see
|
||||
# http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs
|
Loading…
Reference in a new issue