projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
490fd7a
)
Update user-agent string
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Fri, 12 Feb 2010 20:07:21 +0000
(21:07 +0100)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:26:30 +0000
(11:26 +0100)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 792acd3ae323ec0b9bd6a4a6fb2d6050edc3087c..2e9ac62659cc46a929f6ddcaf70163594820c2cc 100755
(executable)
--- a/
youtube-dl
+++ b/
youtube-dl
@@
-27,7
+27,7
@@
except ImportError:
from cgi import parse_qs
std_headers = {
- 'User-Agent': 'Mozilla/5.0 (Windows; U; Windows NT 6.
0; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2',
+ 'User-Agent': 'Mozilla/5.0 (Windows; U; Windows NT 6.
1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6'
'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'Accept': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'Accept-Language': 'en-us,en;q=0.5',