diff options
| author | Vito Graffagnino <vito@graffagnino.xyz> | 2020-09-08 18:10:49 +0100 |
|---|---|---|
| committer | Vito Graffagnino <vito@graffagnino.xyz> | 2020-09-08 18:10:49 +0100 |
| commit | 3b0142cedcde39e4c2097ecd916a870a3ced5ec6 (patch) | |
| tree | 2116c49a845dfc0945778f2aa3e2118d72be428b /.cheat/youtube-dl | |
| parent | 8cc927e930d5b6aafe3e9862a61e81705479a1b4 (diff) | |
Added the relevent parts of the .config directory. Alss add ssh config
Diffstat (limited to '.cheat/youtube-dl')
| -rwxr-xr-x | .cheat/youtube-dl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.cheat/youtube-dl b/.cheat/youtube-dl new file mode 100755 index 0000000..2ff3536 --- /dev/null +++ b/.cheat/youtube-dl @@ -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 |
