commit: 110cd3462e4057ccbec5369bf895bdf311fb536b
parent 18963a36b060526d89114fa019cd65e1fc425f9b
Author: Ricardo Garcia <sarbalap+freshmeat@gmail.com>
Date: Sat, 8 Aug 2009 14:53:13 +0200
Update User-agent string
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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',