Update User-Agent string
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 30 Jan 2011 11:59:18 +0000 (12:59 +0100)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 30 Jan 2011 11:59:18 +0000 (12:59 +0100)
youtube-dl

index e980f41f8bb5ebce31c5553455b4c2112430b866..4d1e942ff9de3bea839064e9c209ecc281b41afb 100755 (executable)
@@ -37,7 +37,7 @@ except ImportError:
        from cgi import parse_qs
 
 std_headers = {
-       'User-Agent': 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101028 Firefox/3.6.12',
+       'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:2.0b10) Gecko/20100101 Firefox/4.0b10'
        'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
        'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
        'Accept-Encoding': 'gzip, deflate',