diff options
author | Ricardo Garcia <[email protected]> | 2010-12-16 07:09:58 +0100 |
---|---|---|
committer | Ricardo Garcia <[email protected]> | 2010-12-16 07:09:58 +0100 |
commit | a57ed21f6df916188229870fdfbcec5c58c89b0e (patch) | |
tree | dbd6137bd04dff26b2efc6a33c2fb2f694cd8a37 | |
parent | 975a91d0ac950f8558067810ba64adb2fb4feada (diff) | |
download | youtube-dl-a57ed21f6df916188229870fdfbcec5c58c89b0e.tar.gz youtube-dl-a57ed21f6df916188229870fdfbcec5c58c89b0e.zip |
Request page compression by default, like Firefox does
-rwxr-xr-x | youtube-dl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube-dl b/youtube-dl index cf0e9fcb8..a0b5577d5 100755 --- a/youtube-dl +++ b/youtube-dl @@ -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', } |