Revert "Delete git-eb, it's obsolete"
[sunny256-utils.git] / ydd
blob204e46df31bb0d48865eaa14d5f678be37e575a7
1 #!/usr/bin/env bash
3 #=======================================================================
4 # ydd
5 # File ID: 7989fb04-1193-11e3-9433-a088b4ddef28
6 # Download YouTube videoes with preferred quality and format
7 # License: GNU General Public License version 2 or later.
8 #=======================================================================
10 # Available formats:
11 # 37 : mp4 [1080x1920]
12 # 46 : webm [1080x1920]
13 # 22 : mp4 [720x1280]
14 # 45 : webm [720x1280]
15 # 35 : flv [480x854]
16 # 44 : webm [480x854]
17 # 34 : flv [360x640]
18 # 18 : mp4 [360x640]
19 # 43 : webm [360x640]
20 # 5 : flv [240x400]
21 # 36 : 3gp [240x320]
22 # 17 : 3gp [144x176]
23 # 84 : mp4 [720p] (3D)
24 # 102 : webm [720p] (3D)
25 # 82 : mp4 [360p] (3D)
26 # 100 : webm [360p] (3D)
27 # 137 : mp4 [1080p] (DASH Video)
28 # 136 : mp4 [720p] (DASH Video)
29 # 135 : mp4 [480p] (DASH Video)
30 # 134 : mp4 [360p] (DASH Video)
31 # 133 : mp4 [240p] (DASH Video)
32 # 160 : mp4 [192p] (DASH Video)
33 # 141 : mp4 [256k] (DASH Audio)
34 # 140 : mp4 [128k] (DASH Audio)
35 # 139 : mp4 [48k] (DASH Audio)
37 yd -f 37/46/22/45/44/18/43 "$@"