Request page compression by default, like Firefox does
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Thu, 16 Dec 2010 06:09:58 +0000 (07:09 +0100)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Thu, 16 Dec 2010 06:09:58 +0000 (07:09 +0100)
youtube-dl

index cf0e9fcb8a2b0117e87d635141836d2765dda881..a0b5577d577f173356a975bde67ae35652e70d0c 100755 (executable)
@@ -33,6 +33,7 @@ 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',
        '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',
        'Accept-Language': 'en-us,en;q=0.5',
 }