diff options
author | Ricardo Garcia <sarbalap+freshmeat@gmail.com> | 2008-07-22 09:55:32 +0200 |
---|---|---|
committer | Ricardo Garcia <devnull@localhost> | 2008-07-22 09:55:32 +0200 |
commit | 7414bdf11d0382e1a7206caa9def3da999510b6b (patch) | |
tree | e6ba018eee9b79e1dfda6c7c2a05f48997865ea5 | |
parent | f97c8db74ef927216d3ccfb719602e7335f4dee5 (diff) |
Update and fix User-Agent header
-rwxr-xr-x | youtube-dl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl index 914cce37b..6a79bf93a 100755 --- a/youtube-dl +++ b/youtube-dl @@ -17,7 +17,7 @@ import urllib import urllib2 std_headers = { - 'User-Agent': 'UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0', + 'User-Agent': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1', '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', |