projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cee6d9
)
Update User-Agent string
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Wed, 15 Apr 2009 18:17:16 +0000
(20:17 +0200)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:24:08 +0000
(11:24 +0100)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 0abfaef38876c323b41c24d4b898e5b2615420ed..20e26f99c06d7b70fda144c6a95a9b5655caa3a9 100755
(executable)
--- a/
youtube-dl
+++ b/
youtube-dl
@@
-19,7
+19,7
@@
import urllib
import urllib2
std_headers = {
- 'User-Agent': 'Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
',
+ 'User-Agent': 'Mozilla/5.0 (Windows; U; Windows NT
6.0; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
',
'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',