]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube-dl.1
Imported Upstream version 2014.10.30
[youtubedl] / youtube-dl.1
1 .TH "YOUTUBE\-DL" "1" "" "" ""
2 .SH NAME
3 .PP
4 youtube\-dl \- download videos from youtube.com or other video platforms
5 .SH SYNOPSIS
6 .PP
7 \f[B]youtube\-dl\f[] OPTIONS (#options) URL [URL...]
8 .SH DESCRIPTION
9 .PP
10 \f[B]youtube\-dl\f[] is a small command\-line program to download videos
11 from YouTube.com and a few more sites.
12 It requires the Python interpreter, version 2.6, 2.7, or 3.3+, and it is
13 not platform specific.
14 It should work on your Unix box, on Windows or on Mac OS X.
15 It is released to the public domain, which means you can modify it,
16 redistribute it or use it however you like.
17 .SH OPTIONS
18 .IP
19 .nf
20 \f[C]
21 \-h,\ \-\-help\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ print\ this\ help\ text\ and\ exit
22 \-\-version\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ print\ program\ version\ and\ exit
23 \-U,\ \-\-update\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ update\ this\ program\ to\ latest\ version.\ Make
24 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ sure\ that\ you\ have\ sufficient\ permissions
25 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (run\ with\ sudo\ if\ needed)
26 \-i,\ \-\-ignore\-errors\ \ \ \ \ \ \ \ \ \ \ \ \ \ continue\ on\ download\ errors,\ for\ example\ to
27 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ skip\ unavailable\ videos\ in\ a\ playlist
28 \-\-abort\-on\-error\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Abort\ downloading\ of\ further\ videos\ (in\ the
29 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ playlist\ or\ the\ command\ line)\ if\ an\ error
30 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ occurs
31 \-\-dump\-user\-agent\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ display\ the\ current\ browser\ identification
32 \-\-list\-extractors\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ List\ all\ supported\ extractors\ and\ the\ URLs
33 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ they\ would\ handle
34 \-\-extractor\-descriptions\ \ \ \ \ \ \ \ \ Output\ descriptions\ of\ all\ supported
35 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ extractors
36 \-\-proxy\ URL\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Use\ the\ specified\ HTTP/HTTPS\ proxy.\ Pass\ in
37 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ an\ empty\ string\ (\-\-proxy\ "")\ for\ direct
38 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ connection
39 \-\-socket\-timeout\ None\ \ \ \ \ \ \ \ \ \ \ \ Time\ to\ wait\ before\ giving\ up,\ in\ seconds
40 \-\-default\-search\ PREFIX\ \ \ \ \ \ \ \ \ \ Use\ this\ prefix\ for\ unqualified\ URLs.\ For
41 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ example\ "gvsearch2:"\ downloads\ two\ videos
42 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ from\ google\ videos\ for\ \ youtube\-dl\ "large
43 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ apple".\ Use\ the\ value\ "auto"\ to\ let
44 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ youtube\-dl\ guess\ ("auto_warning"\ to\ emit\ a
45 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ warning\ when\ guessing).\ "error"\ just\ throws
46 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ an\ error.\ The\ default\ value\ "fixup_error"
47 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ repairs\ broken\ URLs,\ but\ emits\ an\ error\ if
48 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ this\ is\ not\ possible\ instead\ of\ searching.
49 \-\-ignore\-config\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Do\ not\ read\ configuration\ files.\ When\ given
50 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ in\ the\ global\ configuration\ file\ /etc
51 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ /youtube\-dl.conf:\ do\ not\ read\ the\ user
52 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ configuration\ in\ ~/.config/youtube\-dl.conf
53 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (%APPDATA%/youtube\-dl/config.txt\ on
54 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Windows)
55 \-\-flat\-playlist\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Do\ not\ extract\ the\ videos\ of\ a\ playlist,
56 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ only\ list\ them.
57 \f[]
58 .fi
59 .SS Video Selection:
60 .IP
61 .nf
62 \f[C]
63 \-\-playlist\-start\ NUMBER\ \ \ \ \ \ \ \ \ \ playlist\ video\ to\ start\ at\ (default\ is\ 1)
64 \-\-playlist\-end\ NUMBER\ \ \ \ \ \ \ \ \ \ \ \ playlist\ video\ to\ end\ at\ (default\ is\ last)
65 \-\-match\-title\ REGEX\ \ \ \ \ \ \ \ \ \ \ \ \ \ download\ only\ matching\ titles\ (regex\ or
66 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ caseless\ sub\-string)
67 \-\-reject\-title\ REGEX\ \ \ \ \ \ \ \ \ \ \ \ \ skip\ download\ for\ matching\ titles\ (regex\ or
68 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ caseless\ sub\-string)
69 \-\-max\-downloads\ NUMBER\ \ \ \ \ \ \ \ \ \ \ Abort\ after\ downloading\ NUMBER\ files
70 \-\-min\-filesize\ SIZE\ \ \ \ \ \ \ \ \ \ \ \ \ \ Do\ not\ download\ any\ videos\ smaller\ than
71 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ SIZE\ (e.g.\ 50k\ or\ 44.6m)
72 \-\-max\-filesize\ SIZE\ \ \ \ \ \ \ \ \ \ \ \ \ \ Do\ not\ download\ any\ videos\ larger\ than\ SIZE
73 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (e.g.\ 50k\ or\ 44.6m)
74 \-\-date\ DATE\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ download\ only\ videos\ uploaded\ in\ this\ date
75 \-\-datebefore\ DATE\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ download\ only\ videos\ uploaded\ on\ or\ before
76 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ this\ date\ (i.e.\ inclusive)
77 \-\-dateafter\ DATE\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ download\ only\ videos\ uploaded\ on\ or\ after
78 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ this\ date\ (i.e.\ inclusive)
79 \-\-min\-views\ COUNT\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Do\ not\ download\ any\ videos\ with\ less\ than
80 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ COUNT\ views
81 \-\-max\-views\ COUNT\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Do\ not\ download\ any\ videos\ with\ more\ than
82 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ COUNT\ views
83 \-\-no\-playlist\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ download\ only\ the\ currently\ playing\ video
84 \-\-age\-limit\ YEARS\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ download\ only\ videos\ suitable\ for\ the\ given
85 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ age
86 \-\-download\-archive\ FILE\ \ \ \ \ \ \ \ \ \ Download\ only\ videos\ not\ listed\ in\ the
87 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ archive\ file.\ Record\ the\ IDs\ of\ all
88 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ downloaded\ videos\ in\ it.
89 \-\-include\-ads\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Download\ advertisements\ as\ well
90 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (experimental)
91 \f[]
92 .fi
93 .SS Download Options:
94 .IP
95 .nf
96 \f[C]
97 \-r,\ \-\-rate\-limit\ LIMIT\ \ \ \ \ \ \ \ \ \ \ maximum\ download\ rate\ in\ bytes\ per\ second
98 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (e.g.\ 50K\ or\ 4.2M)
99 \-R,\ \-\-retries\ RETRIES\ \ \ \ \ \ \ \ \ \ \ \ number\ of\ retries\ (default\ is\ 10)
100 \-\-buffer\-size\ SIZE\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ size\ of\ download\ buffer\ (e.g.\ 1024\ or\ 16K)
101 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (default\ is\ 1024)
102 \-\-no\-resize\-buffer\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ do\ not\ automatically\ adjust\ the\ buffer
103 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ size.\ By\ default,\ the\ buffer\ size\ is
104 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ automatically\ resized\ from\ an\ initial\ value
105 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ of\ SIZE.
106 \f[]
107 .fi
108 .SS Filesystem Options:
109 .IP
110 .nf
111 \f[C]
112 \-a,\ \-\-batch\-file\ FILE\ \ \ \ \ \ \ \ \ \ \ \ file\ containing\ URLs\ to\ download\ (\[aq]\-\[aq]\ for
113 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ stdin)
114 \-\-id\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ use\ only\ video\ ID\ in\ file\ name
115 \-A,\ \-\-auto\-number\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ number\ downloaded\ files\ starting\ from\ 00000
116 \-o,\ \-\-output\ TEMPLATE\ \ \ \ \ \ \ \ \ \ \ \ output\ filename\ template.\ Use\ %(title)s\ to
117 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ get\ the\ title,\ %(uploader)s\ for\ the
118 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ uploader\ name,\ %(uploader_id)s\ for\ the
119 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ uploader\ nickname\ if\ different,
120 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ %(autonumber)s\ to\ get\ an\ automatically
121 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ incremented\ number,\ %(ext)s\ for\ the
122 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ filename\ extension,\ %(format)s\ for\ the
123 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ format\ description\ (like\ "22\ \-\ 1280x720"\ or
124 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ "HD"),\ %(format_id)s\ for\ the\ unique\ id\ of
125 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ the\ format\ (like\ Youtube\[aq]s\ itags:\ "137"),
126 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ %(upload_date)s\ for\ the\ upload\ date
127 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (YYYYMMDD),\ %(extractor)s\ for\ the\ provider
128 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (youtube,\ metacafe,\ etc),\ %(id)s\ for\ the
129 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ video\ id,\ %(playlist)s\ for\ the\ playlist\ the
130 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ video\ is\ in,\ %(playlist_index)s\ for\ the
131 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ position\ in\ the\ playlist\ and\ %%\ for\ a
132 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ literal\ percent.\ %(height)s\ and\ %(width)s
133 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ for\ the\ width\ and\ height\ of\ the\ video
134 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ format.\ %(resolution)s\ for\ a\ textual
135 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ description\ of\ the\ resolution\ of\ the\ video
136 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ format.\ Use\ \-\ to\ output\ to\ stdout.\ Can\ also
137 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ be\ used\ to\ download\ to\ a\ different
138 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ directory,\ for\ example\ with\ \-o\ \[aq]/my/downloa
139 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ds/%(uploader)s/%(title)s\-%(id)s.%(ext)s\[aq]\ .
140 \-\-autonumber\-size\ NUMBER\ \ \ \ \ \ \ \ \ Specifies\ the\ number\ of\ digits\ in
141 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ %(autonumber)s\ when\ it\ is\ present\ in\ output
142 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ filename\ template\ or\ \-\-auto\-number\ option
143 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ is\ given
144 \-\-restrict\-filenames\ \ \ \ \ \ \ \ \ \ \ \ \ Restrict\ filenames\ to\ only\ ASCII
145 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ characters,\ and\ avoid\ "&"\ and\ spaces\ in
146 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ filenames
147 \-t,\ \-\-title\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ [deprecated]\ use\ title\ in\ file\ name
148 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (default)
149 \-l,\ \-\-literal\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ [deprecated]\ alias\ of\ \-\-title
150 \-w,\ \-\-no\-overwrites\ \ \ \ \ \ \ \ \ \ \ \ \ \ do\ not\ overwrite\ files
151 \-c,\ \-\-continue\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ force\ resume\ of\ partially\ downloaded\ files.
152 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ By\ default,\ youtube\-dl\ will\ resume
153 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ downloads\ if\ possible.
154 \-\-no\-continue\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ do\ not\ resume\ partially\ downloaded\ files
155 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (restart\ from\ beginning)
156 \-\-no\-part\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ do\ not\ use\ .part\ files\ \-\ write\ directly
157 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ into\ output\ file
158 \-\-no\-mtime\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ do\ not\ use\ the\ Last\-modified\ header\ to\ set
159 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ the\ file\ modification\ time
160 \-\-write\-description\ \ \ \ \ \ \ \ \ \ \ \ \ \ write\ video\ description\ to\ a\ .description
161 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ file
162 \-\-write\-info\-json\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ write\ video\ metadata\ to\ a\ .info.json\ file
163 \-\-write\-annotations\ \ \ \ \ \ \ \ \ \ \ \ \ \ write\ video\ annotations\ to\ a\ .annotation
164 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ file
165 \-\-write\-thumbnail\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ write\ thumbnail\ image\ to\ disk
166 \-\-load\-info\ FILE\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ json\ file\ containing\ the\ video\ information
167 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (created\ with\ the\ "\-\-write\-json"\ option)
168 \-\-cookies\ FILE\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ file\ to\ read\ cookies\ from\ and\ dump\ cookie
169 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ jar\ in
170 \-\-cache\-dir\ DIR\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Location\ in\ the\ filesystem\ where\ youtube\-dl
171 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ can\ store\ some\ downloaded\ information
172 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ permanently.\ By\ default\ $XDG_CACHE_HOME
173 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ /youtube\-dl\ or\ ~/.cache/youtube\-dl\ .\ At\ the
174 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ moment,\ only\ YouTube\ player\ files\ (for
175 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ videos\ with\ obfuscated\ signatures)\ are
176 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ cached,\ but\ that\ may\ change.
177 \-\-no\-cache\-dir\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Disable\ filesystem\ caching
178 \-\-rm\-cache\-dir\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Delete\ all\ filesystem\ cache\ files
179 \f[]
180 .fi
181 .SS Verbosity / Simulation Options:
182 .IP
183 .nf
184 \f[C]
185 \-q,\ \-\-quiet\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ activates\ quiet\ mode
186 \-\-no\-warnings\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Ignore\ warnings
187 \-s,\ \-\-simulate\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ do\ not\ download\ the\ video\ and\ do\ not\ write
188 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ anything\ to\ disk
189 \-\-skip\-download\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ do\ not\ download\ the\ video
190 \-g,\ \-\-get\-url\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ simulate,\ quiet\ but\ print\ URL
191 \-e,\ \-\-get\-title\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ simulate,\ quiet\ but\ print\ title
192 \-\-get\-id\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ simulate,\ quiet\ but\ print\ id
193 \-\-get\-thumbnail\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ simulate,\ quiet\ but\ print\ thumbnail\ URL
194 \-\-get\-description\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ simulate,\ quiet\ but\ print\ video\ description
195 \-\-get\-duration\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ simulate,\ quiet\ but\ print\ video\ length
196 \-\-get\-filename\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ simulate,\ quiet\ but\ print\ output\ filename
197 \-\-get\-format\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ simulate,\ quiet\ but\ print\ output\ format
198 \-j,\ \-\-dump\-json\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ simulate,\ quiet\ but\ print\ JSON\ information.
199 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ See\ \-\-output\ for\ a\ description\ of\ available
200 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ keys.
201 \-J,\ \-\-dump\-single\-json\ \ \ \ \ \ \ \ \ \ \ simulate,\ quiet\ but\ print\ JSON\ information
202 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ for\ each\ command\-line\ argument.\ If\ the\ URL
203 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ refers\ to\ a\ playlist,\ dump\ the\ whole
204 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ playlist\ information\ in\ a\ single\ line.
205 \-\-newline\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ output\ progress\ bar\ as\ new\ lines
206 \-\-no\-progress\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ do\ not\ print\ progress\ bar
207 \-\-console\-title\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ display\ progress\ in\ console\ titlebar
208 \-v,\ \-\-verbose\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ print\ various\ debugging\ information
209 \-\-dump\-intermediate\-pages\ \ \ \ \ \ \ \ print\ downloaded\ pages\ to\ debug\ problems
210 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (very\ verbose)
211 \-\-write\-pages\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Write\ downloaded\ intermediary\ pages\ to
212 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ files\ in\ the\ current\ directory\ to\ debug
213 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ problems
214 \-\-print\-traffic\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Display\ sent\ and\ read\ HTTP\ traffic
215 \f[]
216 .fi
217 .SS Workarounds:
218 .IP
219 .nf
220 \f[C]
221 \-\-encoding\ ENCODING\ \ \ \ \ \ \ \ \ \ \ \ \ \ Force\ the\ specified\ encoding\ (experimental)
222 \-\-no\-check\-certificate\ \ \ \ \ \ \ \ \ \ \ Suppress\ HTTPS\ certificate\ validation.
223 \-\-prefer\-insecure\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Use\ an\ unencrypted\ connection\ to\ retrieve
224 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ information\ about\ the\ video.\ (Currently
225 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ supported\ only\ for\ YouTube)
226 \-\-user\-agent\ UA\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ specify\ a\ custom\ user\ agent
227 \-\-referer\ URL\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ specify\ a\ custom\ referer,\ use\ if\ the\ video
228 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ access\ is\ restricted\ to\ one\ domain
229 \-\-add\-header\ FIELD:VALUE\ \ \ \ \ \ \ \ \ specify\ a\ custom\ HTTP\ header\ and\ its\ value,
230 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ separated\ by\ a\ colon\ \[aq]:\[aq].\ You\ can\ use\ this
231 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ option\ multiple\ times
232 \-\-bidi\-workaround\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Work\ around\ terminals\ that\ lack
233 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ bidirectional\ text\ support.\ Requires\ bidiv
234 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ or\ fribidi\ executable\ in\ PATH
235 \f[]
236 .fi
237 .SS Video Format Options:
238 .IP
239 .nf
240 \f[C]
241 \-f,\ \-\-format\ FORMAT\ \ \ \ \ \ \ \ \ \ \ \ \ \ video\ format\ code,\ specify\ the\ order\ of
242 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ preference\ using\ slashes:\ \-f\ 22/17/18\ .\ \ \-f
243 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mp4\ ,\ \-f\ m4a\ and\ \ \-f\ flv\ \ are\ also
244 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ supported.\ You\ can\ also\ use\ the\ special
245 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ names\ "best",\ "bestvideo",\ "bestaudio",
246 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ "worst",\ "worstvideo"\ and\ "worstaudio".\ By
247 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ default,\ youtube\-dl\ will\ pick\ the\ best
248 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ quality.\ Use\ commas\ to\ download\ multiple
249 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ audio\ formats,\ such\ as\ \ \-f
250 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 136/137/mp4/bestvideo,140/m4a/bestaudio
251 \-\-all\-formats\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ download\ all\ available\ video\ formats
252 \-\-prefer\-free\-formats\ \ \ \ \ \ \ \ \ \ \ \ prefer\ free\ video\ formats\ unless\ a\ specific
253 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ one\ is\ requested
254 \-\-max\-quality\ FORMAT\ \ \ \ \ \ \ \ \ \ \ \ \ highest\ quality\ format\ to\ download
255 \-F,\ \-\-list\-formats\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ list\ all\ available\ formats
256 \-\-youtube\-skip\-dash\-manifest\ \ \ \ \ Do\ not\ download\ the\ DASH\ manifest\ on
257 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ YouTube\ videos
258 \f[]
259 .fi
260 .SS Subtitle Options:
261 .IP
262 .nf
263 \f[C]
264 \-\-write\-sub\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ write\ subtitle\ file
265 \-\-write\-auto\-sub\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ write\ automatic\ subtitle\ file\ (youtube
266 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ only)
267 \-\-all\-subs\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ downloads\ all\ the\ available\ subtitles\ of
268 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ the\ video
269 \-\-list\-subs\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ lists\ all\ available\ subtitles\ for\ the\ video
270 \-\-sub\-format\ FORMAT\ \ \ \ \ \ \ \ \ \ \ \ \ \ subtitle\ format\ (default=srt)\ ([sbv/vtt]
271 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ youtube\ only)
272 \-\-sub\-lang\ LANGS\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ languages\ of\ the\ subtitles\ to\ download
273 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (optional)\ separated\ by\ commas,\ use\ IETF
274 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ language\ tags\ like\ \[aq]en,pt\[aq]
275 \f[]
276 .fi
277 .SS Authentication Options:
278 .IP
279 .nf
280 \f[C]
281 \-u,\ \-\-username\ USERNAME\ \ \ \ \ \ \ \ \ \ login\ with\ this\ account\ ID
282 \-p,\ \-\-password\ PASSWORD\ \ \ \ \ \ \ \ \ \ account\ password
283 \-2,\ \-\-twofactor\ TWOFACTOR\ \ \ \ \ \ \ \ two\-factor\ auth\ code
284 \-n,\ \-\-netrc\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ use\ .netrc\ authentication\ data
285 \-\-video\-password\ PASSWORD\ \ \ \ \ \ \ \ video\ password\ (vimeo,\ smotri)
286 \f[]
287 .fi
288 .SS Post\-processing Options:
289 .IP
290 .nf
291 \f[C]
292 \-x,\ \-\-extract\-audio\ \ \ \ \ \ \ \ \ \ \ \ \ \ convert\ video\ files\ to\ audio\-only\ files
293 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (requires\ ffmpeg\ or\ avconv\ and\ ffprobe\ or
294 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ avprobe)
295 \-\-audio\-format\ FORMAT\ \ \ \ \ \ \ \ \ \ \ \ "best",\ "aac",\ "vorbis",\ "mp3",\ "m4a",
296 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ "opus",\ or\ "wav";\ "best"\ by\ default
297 \-\-audio\-quality\ QUALITY\ \ \ \ \ \ \ \ \ \ ffmpeg/avconv\ audio\ quality\ specification,
298 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ insert\ a\ value\ between\ 0\ (better)\ and\ 9
299 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (worse)\ for\ VBR\ or\ a\ specific\ bitrate\ like
300 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 128K\ (default\ 5)
301 \-\-recode\-video\ FORMAT\ \ \ \ \ \ \ \ \ \ \ \ Encode\ the\ video\ to\ another\ format\ if
302 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ necessary\ (currently\ supported:
303 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mp4|flv|ogg|webm|mkv)
304 \-k,\ \-\-keep\-video\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ keeps\ the\ video\ file\ on\ disk\ after\ the
305 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ post\-processing;\ the\ video\ is\ erased\ by
306 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ default
307 \-\-no\-post\-overwrites\ \ \ \ \ \ \ \ \ \ \ \ \ do\ not\ overwrite\ post\-processed\ files;\ the
308 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ post\-processed\ files\ are\ overwritten\ by
309 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ default
310 \-\-embed\-subs\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ embed\ subtitles\ in\ the\ video\ (only\ for\ mp4
311 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ videos)
312 \-\-embed\-thumbnail\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ embed\ thumbnail\ in\ the\ audio\ as\ cover\ art
313 \-\-add\-metadata\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ write\ metadata\ to\ the\ video\ file
314 \-\-xattrs\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ write\ metadata\ to\ the\ video\ file\[aq]s\ xattrs
315 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (using\ dublin\ core\ and\ xdg\ standards)
316 \-\-prefer\-avconv\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Prefer\ avconv\ over\ ffmpeg\ for\ running\ the
317 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ postprocessors\ (default)
318 \-\-prefer\-ffmpeg\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Prefer\ ffmpeg\ over\ avconv\ for\ running\ the
319 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ postprocessors
320 \-\-exec\ CMD\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Execute\ a\ command\ on\ the\ file\ after
321 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ downloading,\ similar\ to\ find\[aq]s\ \-exec
322 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ syntax.\ Example:\ \-\-exec\ \[aq]adb\ push\ {}
323 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ /sdcard/Music/\ &&\ rm\ {}\[aq]
324 \f[]
325 .fi
326 .SH CONFIGURATION
327 .PP
328 You can configure youtube\-dl by placing default arguments (such as
329 \f[C]\-\-extract\-audio\ \-\-no\-mtime\f[] to always extract the audio
330 and not copy the mtime) into \f[C]/etc/youtube\-dl.conf\f[] and/or
331 \f[C]~/.config/youtube\-dl/config\f[].
332 On Windows, the configuration file locations are
333 \f[C]%APPDATA%\\youtube\-dl\\config.txt\f[] and
334 \f[C]C:\\Users\\<Yourname>\\youtube\-dl.conf\f[].
335 .SH OUTPUT TEMPLATE
336 .PP
337 The \f[C]\-o\f[] option allows users to indicate a template for the
338 output file names.
339 The basic usage is not to set any template arguments when downloading a
340 single file, like in
341 \f[C]youtube\-dl\ \-o\ funny_video.flv\ "http://some/video"\f[].
342 However, it may contain special sequences that will be replaced when
343 downloading each video.
344 The special sequences have the format \f[C]%(NAME)s\f[].
345 To clarify, that is a percent symbol followed by a name in parenthesis,
346 followed by a lowercase S.
347 Allowed names are:
348 .IP \[bu] 2
349 \f[C]id\f[]: The sequence will be replaced by the video identifier.
350 .IP \[bu] 2
351 \f[C]url\f[]: The sequence will be replaced by the video URL.
352 .IP \[bu] 2
353 \f[C]uploader\f[]: The sequence will be replaced by the nickname of the
354 person who uploaded the video.
355 .IP \[bu] 2
356 \f[C]upload_date\f[]: The sequence will be replaced by the upload date
357 in YYYYMMDD format.
358 .IP \[bu] 2
359 \f[C]title\f[]: The sequence will be replaced by the video title.
360 .IP \[bu] 2
361 \f[C]ext\f[]: The sequence will be replaced by the appropriate extension
362 (like flv or mp4).
363 .IP \[bu] 2
364 \f[C]epoch\f[]: The sequence will be replaced by the Unix epoch when
365 creating the file.
366 .IP \[bu] 2
367 \f[C]autonumber\f[]: The sequence will be replaced by a five\-digit
368 number that will be increased with each download, starting at zero.
369 .IP \[bu] 2
370 \f[C]playlist\f[]: The name or the id of the playlist that contains the
371 video.
372 .IP \[bu] 2
373 \f[C]playlist_index\f[]: The index of the video in the playlist, a
374 five\-digit number.
375 .PP
376 The current default template is \f[C]%(title)s\-%(id)s.%(ext)s\f[].
377 .PP
378 In some cases, you don\[aq]t want special characters such as äø­, spaces,
379 or &, such as when transferring the downloaded filename to a Windows
380 system or the filename through an 8bit\-unsafe channel.
381 In these cases, add the \f[C]\-\-restrict\-filenames\f[] flag to get a
382 shorter title:
383 .IP
384 .nf
385 \f[C]
386 $\ youtube\-dl\ \-\-get\-filename\ \-o\ "%(title)s.%(ext)s"\ BaW_jenozKc
387 youtube\-dl\ test\ video\ \[aq]\[aq]_Ƥā†­š•.mp4\ \ \ \ #\ All\ kinds\ of\ weird\ characters
388 $\ youtube\-dl\ \-\-get\-filename\ \-o\ "%(title)s.%(ext)s"\ BaW_jenozKc\ \-\-restrict\-filenames
389 youtube\-dl_test_video_.mp4\ \ \ \ \ \ \ \ \ \ #\ A\ simple\ file\ name
390 \f[]
391 .fi
392 .SH VIDEO SELECTION
393 .PP
394 Videos can be filtered by their upload date using the options
395 \f[C]\-\-date\f[], \f[C]\-\-datebefore\f[] or \f[C]\-\-dateafter\f[],
396 they accept dates in two formats:
397 .IP \[bu] 2
398 Absolute dates: Dates in the format \f[C]YYYYMMDD\f[].
399 .IP \[bu] 2
400 Relative dates: Dates in the format
401 \f[C](now|today)[+\-][0\-9](day|week|month|year)(s)?\f[]
402 .PP
403 Examples:
404 .IP
405 .nf
406 \f[C]
407 #\ Download\ only\ the\ videos\ uploaded\ in\ the\ last\ 6\ months
408 $\ youtube\-dl\ \-\-dateafter\ now\-6months
409
410 #\ Download\ only\ the\ videos\ uploaded\ on\ January\ 1,\ 1970
411 $\ youtube\-dl\ \-\-date\ 19700101
412
413 $\ #\ will\ only\ download\ the\ videos\ uploaded\ in\ the\ 200x\ decade
414 $\ youtube\-dl\ \-\-dateafter\ 20000101\ \-\-datebefore\ 20091231
415 \f[]
416 .fi
417 .SH FAQ
418 .SS How do I update youtube\-dl?
419 .PP
420 If you\[aq]ve followed our manual installation
421 instructions (http://rg3.github.io/youtube-dl/download.html), you can
422 simply run \f[C]youtube\-dl\ \-U\f[] (or, on Linux,
423 \f[C]sudo\ youtube\-dl\ \-U\f[]).
424 .PP
425 If you have used pip, a simple
426 \f[C]sudo\ pip\ install\ \-U\ youtube\-dl\f[] is sufficient to update.
427 .PP
428 If you have installed youtube\-dl using a package manager like
429 \f[I]apt\-get\f[] or \f[I]yum\f[], use the standard system update
430 mechanism to update.
431 Note that distribution packages are often outdated.
432 As a rule of thumb, youtube\-dl releases at least once a month, and
433 often weekly or even daily.
434 Simply go to http://yt\-dl.org/ to find out the current version.
435 Unfortunately, there is nothing we youtube\-dl developers can do if your
436 distributions serves a really outdated version.
437 You can (and should) complain to your distribution in their bugtracker
438 or support forum.
439 .PP
440 As a last resort, you can also uninstall the version installed by your
441 package manager and follow our manual installation instructions.
442 For that, remove the distribution\[aq]s package, with a line like
443 .IP
444 .nf
445 \f[C]
446 sudo\ apt\-get\ remove\ \-y\ youtube\-dl
447 \f[]
448 .fi
449 .PP
450 Afterwards, simply follow our manual installation
451 instructions (http://rg3.github.io/youtube-dl/download.html):
452 .IP
453 .nf
454 \f[C]
455 sudo\ wget\ https://yt\-dl.org/latest/youtube\-dl\ \-O\ /usr/local/bin/youtube\-dl
456 sudo\ chmod\ a+x\ /usr/local/bin/youtube\-dl
457 hash\ \-r
458 \f[]
459 .fi
460 .PP
461 Again, from then on you\[aq]ll be able to update with
462 \f[C]sudo\ youtube\-dl\ \-U\f[].
463 .SS I\[aq]m getting an error
464 \f[C]Unable\ to\ extract\ OpenGraph\ title\f[] on YouTube playlists
465 .PP
466 YouTube changed their playlist format in March 2014 and later on, so
467 you\[aq]ll need at least youtube\-dl 2014.07.25 to download all YouTube
468 videos.
469 .PP
470 If you have installed youtube\-dl with a package manager, pip, setup.py
471 or a tarball, please use that to update.
472 Note that Ubuntu packages do not seem to get updated anymore.
473 Since we are not affiliated with Ubuntu, there is little we can do.
474 Feel free to report bugs to the Ubuntu packaging guys \- all they have
475 to do is update the package to a somewhat recent version.
476 See above for a way to update.
477 .SS Do I always have to pass in \f[C]\-\-max\-quality\ FORMAT\f[], or
478 \f[C]\-citw\f[]?
479 .PP
480 By default, youtube\-dl intends to have the best options (incidentally,
481 if you have a convincing case that these should be different, please
482 file an issue where you explain that (https://yt-dl.org/bug)).
483 Therefore, it is unnecessary and sometimes harmful to copy long option
484 strings from webpages.
485 In particular, \f[C]\-\-max\-quality\f[] \f[I]limits\f[] the video
486 quality (so if you want the best quality, do NOT pass it in), and the
487 only option out of \f[C]\-citw\f[] that is regularly useful is
488 \f[C]\-i\f[].
489 .SS Can you please put the \-b option back?
490 .PP
491 Most people asking this question are not aware that youtube\-dl now
492 defaults to downloading the highest available quality as reported by
493 YouTube, which will be 1080p or 720p in some cases, so you no longer
494 need the \f[C]\-b\f[] option.
495 For some specific videos, maybe YouTube does not report them to be
496 available in a specific high quality format you\[aq]re interested in.
497 In that case, simply request it with the \f[C]\-f\f[] option and
498 youtube\-dl will try to download it.
499 .SS I get HTTP error 402 when trying to download a video. What\[aq]s
500 this?
501 .PP
502 Apparently YouTube requires you to pass a CAPTCHA test if you download
503 too much.
504 We\[aq]re considering to provide a way to let you solve the
505 CAPTCHA (https://github.com/rg3/youtube-dl/issues/154), but at the
506 moment, your best course of action is pointing a webbrowser to the
507 youtube URL, solving the CAPTCHA, and restart youtube\-dl.
508 .SS I have downloaded a video but how can I play it?
509 .PP
510 Once the video is fully downloaded, use any video player, such as
511 vlc (http://www.videolan.org) or mplayer (http://www.mplayerhq.hu/).
512 .SS The links provided by youtube\-dl \-g are not working anymore
513 .PP
514 The URLs youtube\-dl outputs require the downloader to have the correct
515 cookies.
516 Use the \f[C]\-\-cookies\f[] option to write the required cookies into a
517 file, and advise your downloader to read cookies from that file.
518 Some sites also require a common user agent to be used, use
519 \f[C]\-\-dump\-user\-agent\f[] to see the one in use by youtube\-dl.
520 .SS ERROR: no fmt_url_map or conn information found in video info
521 .PP
522 youtube has switched to a new video info format in July 2011 which is
523 not supported by old versions of youtube\-dl.
524 You can update youtube\-dl with \f[C]sudo\ youtube\-dl\ \-\-update\f[].
525 .SS ERROR: unable to download video
526 .PP
527 youtube requires an additional signature since September 2012 which is
528 not supported by old versions of youtube\-dl.
529 You can update youtube\-dl with \f[C]sudo\ youtube\-dl\ \-\-update\f[].
530 .SS SyntaxError: Non\-ASCII character
531 .PP
532 The error
533 .IP
534 .nf
535 \f[C]
536 File\ "youtube\-dl",\ line\ 2
537 SyntaxError:\ Non\-ASCII\ character\ \[aq]\\x93\[aq]\ ...
538 \f[]
539 .fi
540 .PP
541 means you\[aq]re using an outdated version of Python.
542 Please update to Python 2.6 or 2.7.
543 .SS What is this binary file? Where has the code gone?
544 .PP
545 Since June 2012 (#342) youtube\-dl is packed as an executable zipfile,
546 simply unzip it (might need renaming to \f[C]youtube\-dl.zip\f[] first
547 on some systems) or clone the git repository, as laid out above.
548 If you modify the code, you can run it by executing the
549 \f[C]__main__.py\f[] file.
550 To recompile the executable, run \f[C]make\ youtube\-dl\f[].
551 .SS The exe throws a \f[I]Runtime error from Visual C++\f[]
552 .PP
553 To run the exe you need to install first the Microsoft Visual C++ 2008
554 Redistributable
555 Package (http://www.microsoft.com/en-us/download/details.aspx?id=29).
556 .SH DEVELOPER INSTRUCTIONS
557 .PP
558 Most users do not need to build youtube\-dl and can download the
559 builds (http://rg3.github.io/youtube-dl/download.html) or get them from
560 their distribution.
561 .PP
562 To run youtube\-dl as a developer, you don\[aq]t need to build anything
563 either.
564 Simply execute
565 .IP
566 .nf
567 \f[C]
568 python\ \-m\ youtube_dl
569 \f[]
570 .fi
571 .PP
572 To run the test, simply invoke your favorite test runner, or execute a
573 test file directly; any of the following work:
574 .IP
575 .nf
576 \f[C]
577 python\ \-m\ unittest\ discover
578 python\ test/test_download.py
579 nosetests
580 \f[]
581 .fi
582 .PP
583 If you want to create a build of youtube\-dl yourself, you\[aq]ll need
584 .IP \[bu] 2
585 python
586 .IP \[bu] 2
587 make
588 .IP \[bu] 2
589 pandoc
590 .IP \[bu] 2
591 zip
592 .IP \[bu] 2
593 nosetests
594 .SS Adding support for a new site
595 .PP
596 If you want to add support for a new site, you can follow this quick
597 list (assuming your service is called \f[C]yourextractor\f[]):
598 .IP " 1." 4
599 Fork this repository (https://github.com/rg3/youtube-dl/fork)
600 .IP " 2." 4
601 Check out the source code with
602 \f[C]git\ clone\ git\@github.com:YOUR_GITHUB_USERNAME/youtube\-dl.git\f[]
603 .IP " 3." 4
604 Start a new git branch with
605 \f[C]cd\ youtube\-dl;\ git\ checkout\ \-b\ yourextractor\f[]
606 .IP " 4." 4
607 Start with this simple template and save it to
608 \f[C]youtube_dl/extractor/yourextractor.py\f[]:
609 .RS 4
610 .IP
611 .nf
612 \f[C]
613 #\ coding:\ utf\-8
614 from\ __future__\ import\ unicode_literals
615
616 from\ .common\ import\ InfoExtractor
617
618
619 class\ YourExtractorIE(InfoExtractor):
620 \ \ \ \ _VALID_URL\ =\ r\[aq]https?://(?:www\\.)?yourextractor\\.com/watch/(?P<id>[0\-9]+)\[aq]
621 \ \ \ \ _TEST\ =\ {
622 \ \ \ \ \ \ \ \ \[aq]url\[aq]:\ \[aq]http://yourextractor.com/watch/42\[aq],
623 \ \ \ \ \ \ \ \ \[aq]md5\[aq]:\ \[aq]TODO:\ md5\ sum\ of\ the\ first\ 10241\ bytes\ of\ the\ video\ file\ (use\ \-\-test)\[aq],
624 \ \ \ \ \ \ \ \ \[aq]info_dict\[aq]:\ {
625 \ \ \ \ \ \ \ \ \ \ \ \ \[aq]id\[aq]:\ \[aq]42\[aq],
626 \ \ \ \ \ \ \ \ \ \ \ \ \[aq]ext\[aq]:\ \[aq]mp4\[aq],
627 \ \ \ \ \ \ \ \ \ \ \ \ \[aq]title\[aq]:\ \[aq]Video\ title\ goes\ here\[aq],
628 \ \ \ \ \ \ \ \ \ \ \ \ \[aq]thumbnail\[aq]:\ \[aq]re:^https?://.*\\.jpg$\[aq],
629 \ \ \ \ \ \ \ \ \ \ \ \ #\ TODO\ more\ properties,\ either\ as:
630 \ \ \ \ \ \ \ \ \ \ \ \ #\ *\ A\ value
631 \ \ \ \ \ \ \ \ \ \ \ \ #\ *\ MD5\ checksum;\ start\ the\ string\ with\ md5:
632 \ \ \ \ \ \ \ \ \ \ \ \ #\ *\ A\ regular\ expression;\ start\ the\ string\ with\ re:
633 \ \ \ \ \ \ \ \ \ \ \ \ #\ *\ Any\ Python\ type\ (for\ example\ int\ or\ float)
634 \ \ \ \ \ \ \ \ }
635 \ \ \ \ }
636
637 \ \ \ \ def\ _real_extract(self,\ url):
638 \ \ \ \ \ \ \ \ video_id\ =\ self._match_id(url)
639
640 \ \ \ \ \ \ \ \ #\ TODO\ more\ code\ goes\ here,\ for\ example\ ...
641 \ \ \ \ \ \ \ \ webpage\ =\ self._download_webpage(url,\ video_id)
642 \ \ \ \ \ \ \ \ title\ =\ self._html_search_regex(r\[aq]<h1>(.*?)</h1>\[aq],\ webpage,\ \[aq]title\[aq])
643
644 \ \ \ \ \ \ \ \ return\ {
645 \ \ \ \ \ \ \ \ \ \ \ \ \[aq]id\[aq]:\ video_id,
646 \ \ \ \ \ \ \ \ \ \ \ \ \[aq]title\[aq]:\ title,
647 \ \ \ \ \ \ \ \ \ \ \ \ #\ TODO\ more\ properties\ (see\ youtube_dl/extractor/common.py)
648 \ \ \ \ \ \ \ \ }
649 \f[]
650 .fi
651 .RE
652 .IP " 5." 4
653 Add an import in
654 \f[C]youtube_dl/extractor/__init__.py\f[] (https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/__init__.py).
655 .IP " 6." 4
656 Run
657 \f[C]python\ test/test_download.py\ TestDownload.test_YourExtractor\f[].
658 This \f[I]should fail\f[] at first, but you can continually re\-run it
659 until you\[aq]re done.
660 If you decide to add more than one test, then rename \f[C]_TEST\f[] to
661 \f[C]_TESTS\f[] and make it into a list of dictionaries.
662 The tests will be then be named
663 \f[C]TestDownload.test_YourExtractor\f[],
664 \f[C]TestDownload.test_YourExtractor_1\f[],
665 \f[C]TestDownload.test_YourExtractor_2\f[], etc.
666 .IP " 7." 4
667 Have a look at
668 \f[C]youtube_dl/common/extractor/common.py\f[] (https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/common.py)
669 for possible helper methods and a detailed description of what your
670 extractor should
671 return (https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/common.py#L38).
672 Add tests and code for as many as you want.
673 .IP " 8." 4
674 If you can, check the code with
675 pyflakes (https://pypi.python.org/pypi/pyflakes) (a good idea) and
676 pep8 (https://pypi.python.org/pypi/pep8) (optional, ignore E501).
677 .IP " 9." 4
678 When the tests pass,
679 add (https://www.kernel.org/pub/software/scm/git/docs/git-add.html) the
680 new files and
681 commit (https://www.kernel.org/pub/software/scm/git/docs/git-commit.html)
682 them and
683 push (https://www.kernel.org/pub/software/scm/git/docs/git-push.html)
684 the result, like this:
685 .RS 4
686 .IP
687 .nf
688 \f[C]
689 $\ git\ add\ youtube_dl/extractor/__init__.py
690 $\ git\ add\ youtube_dl/extractor/yourextractor.py
691 $\ git\ commit\ \-m\ \[aq][yourextractor]\ Add\ new\ extractor\[aq]
692 $\ git\ push\ origin\ yourextractor
693 \f[]
694 .fi
695 .RE
696 .IP "10." 4
697 Finally, create a pull
698 request (https://help.github.com/articles/creating-a-pull-request).
699 We\[aq]ll then review and merge it.
700 .PP
701 In any case, thank you very much for your contributions!
702 .SH EMBEDDING YOUTUBE\-DL
703 .PP
704 youtube\-dl makes the best effort to be a good command\-line program,
705 and thus should be callable from any programming language.
706 If you encounter any problems parsing its output, feel free to create a
707 report (https://github.com/rg3/youtube-dl/issues/new).
708 .PP
709 From a Python program, you can embed youtube\-dl in a more powerful
710 fashion, like this:
711 .IP
712 .nf
713 \f[C]
714 import\ youtube_dl
715
716 ydl_opts\ =\ {}
717 with\ youtube_dl.YoutubeDL(ydl_opts)\ as\ ydl:
718 \ \ \ \ ydl.download([\[aq]http://www.youtube.com/watch?v=BaW_jenozKc\[aq]])
719 \f[]
720 .fi
721 .PP
722 Most likely, you\[aq]ll want to use various options.
723 For a list of what can be done, have a look at
724 youtube_dl/YoutubeDL.py (https://github.com/rg3/youtube-dl/blob/master/youtube_dl/YoutubeDL.py#L69).
725 For a start, if you want to intercept youtube\-dl\[aq]s output, set a
726 \f[C]logger\f[] object.
727 .SH BUGS
728 .PP
729 Bugs and suggestions should be reported at:
730 <https://github.com/rg3/youtube-dl/issues> .
731 Unless you were prompted so or there is another pertinent reason (e.g.
732 GitHub fails to accept the bug report), please do not send bug reports
733 via personal email.
734 .PP
735 Please include the full output of the command when run with
736 \f[C]\-\-verbose\f[].
737 The output (including the first lines) contain important debugging
738 information.
739 Issues without the full output are often not reproducible and therefore
740 do not get solved in short order, if ever.
741 .PP
742 For discussions, join us in the irc channel #youtube\-dl on freenode.
743 .PP
744 When you submit a request, please re\-read it once to avoid a couple of
745 mistakes (you can and should use this as a checklist):
746 .SS Is the description of the issue itself sufficient?
747 .PP
748 We often get issue reports that we cannot really decipher.
749 While in most cases we eventually get the required information after
750 asking back multiple times, this poses an unnecessary drain on our
751 resources.
752 Many contributors, including myself, are also not native speakers, so we
753 may misread some parts.
754 .PP
755 So please elaborate on what feature you are requesting, or what bug you
756 want to be fixed.
757 Make sure that it\[aq]s obvious
758 .IP \[bu] 2
759 What the problem is
760 .IP \[bu] 2
761 How it could be fixed
762 .IP \[bu] 2
763 How your proposed solution would look like
764 .PP
765 If your report is shorter than two lines, it is almost certainly missing
766 some of these, which makes it hard for us to respond to it.
767 We\[aq]re often too polite to close the issue outright, but the missing
768 info makes misinterpretation likely.
769 As a commiter myself, I often get frustrated by these issues, since the
770 only possible way for me to move forward on them is to ask for
771 clarification over and over.
772 .PP
773 For bug reports, this means that your report should contain the
774 \f[I]complete\f[] output of youtube\-dl when called with the \-v flag.
775 The error message you get for (most) bugs even says so, but you would
776 not believe how many of our bug reports do not contain this information.
777 .PP
778 Site support requests \f[B]must contain an example URL\f[].
779 An example URL is a URL you might want to download, like
780 http://www.youtube.com/watch?v=BaW_jenozKc .
781 There should be an obvious video present.
782 Except under very special circumstances, the main page of a video
783 service (e.g.
784 http://www.youtube.com/ ) is \f[I]not\f[] an example URL.
785 .SS Are you using the latest version?
786 .PP
787 Before reporting any issue, type youtube\-dl \-U.
788 This should report that you\[aq]re up\-to\-date.
789 About 20% of the reports we receive are already fixed, but people are
790 using outdated versions.
791 This goes for feature requests as well.
792 .SS Is the issue already documented?
793 .PP
794 Make sure that someone has not already opened the issue you\[aq]re
795 trying to open.
796 Search at the top of the window or at
797 https://github.com/rg3/youtube\-dl/search?type=Issues .
798 If there is an issue, feel free to write something along the lines of
799 "This affects me as well, with version 2015.01.01.
800 Here is some more information on the issue: ...".
801 While some issues may be old, a new post into them often spurs rapid
802 activity.
803 .SS Why are existing options not enough?
804 .PP
805 Before requesting a new feature, please have a quick peek at the list of
806 supported
807 options (https://github.com/rg3/youtube-dl/blob/master/README.md#synopsis).
808 Many feature requests are for features that actually exist already!
809 Please, absolutely do show off your work in the issue report and detail
810 how the existing similar options do \f[I]not\f[] solve your problem.
811 .SS Is there enough context in your bug report?
812 .PP
813 People want to solve problems, and often think they do us a favor by
814 breaking down their larger problems (e.g.
815 wanting to skip already downloaded files) to a specific request (e.g.
816 requesting us to look whether the file exists before downloading the
817 info page).
818 However, what often happens is that they break down the problem into two
819 steps: One simple, and one impossible (or extremely complicated one).
820 .PP
821 We are then presented with a very complicated request when the original
822 problem could be solved far easier, e.g.
823 by recording the downloaded video IDs in a separate file.
824 To avoid this, you must include the greater context where it is
825 non\-obvious.
826 In particular, every feature request that does not consist of adding
827 support for a new site should contain a use case scenario that explains
828 in what situation the missing feature would be useful.
829 .SS Does the issue involve one problem, and one problem only?
830 .PP
831 Some of our users seem to think there is a limit of issues they can or
832 should open.
833 There is no limit of issues they can or should open.
834 While it may seem appealing to be able to dump all your issues into one
835 ticket, that means that someone who solves one of your issues cannot
836 mark the issue as closed.
837 Typically, reporting a bunch of issues leads to the ticket lingering
838 since nobody wants to attack that behemoth, until someone mercifully
839 splits the issue into multiple ones.
840 .PP
841 In particular, every site support request issue should only pertain to
842 services at one site (generally under a common domain, but always using
843 the same backend technology).
844 Do not request support for vimeo user videos, Whitehouse podcasts, and
845 Google Plus pages in the same issue.
846 Also, make sure that you don\[aq]t post bug reports alongside feature
847 requests.
848 As a rule of thumb, a feature request does not include outputs of
849 youtube\-dl that are not immediately related to the feature at hand.
850 Do not post reports of a network error alongside the request for a new
851 video service.
852 .SS Is anyone going to need the feature?
853 .PP
854 Only post features that you (or an incapicated friend you can personally
855 talk to) require.
856 Do not post features because they seem like a good idea.
857 If they are really useful, they will be requested by someone who
858 requires them.
859 .SS Is your question about youtube\-dl?
860 .PP
861 It may sound strange, but some bug reports we receive are completely
862 unrelated to youtube\-dl and relate to a different or even the
863 reporter\[aq]s own application.
864 Please make sure that you are actually using youtube\-dl.
865 If you are using a UI for youtube\-dl, report the bug to the maintainer
866 of the actual application providing the UI.
867 On the other hand, if your UI for youtube\-dl fails in some way you
868 believe is related to youtube\-dl, by all means, go ahead and report the
869 bug.
870 .SH COPYRIGHT
871 .PP
872 youtube\-dl is released into the public domain by the copyright holders.
873 .PP
874 This README file was originally written by Daniel Bolton
875 (<https://github.com/dbbolton>) and is likewise released into the public
876 domain.