projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18963a3
)
Update User-agent string
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sat, 8 Aug 2009 12:53:13 +0000
(14:53 +0200)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:24:43 +0000
(11:24 +0100)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 6d0b32941582fb5d4bf451e4089e578b50545991..aa16ff1e4ced11af45527fdf602a85c9a914f37f 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 6.0; en-US; rv:1.9.
0.8) Gecko/2009032609 Firefox/3.0.8
',
+ 'User-Agent': 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.
1.2) Gecko/20090729 Firefox/3.5.2
',
'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',