diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-02-11 23:12:30 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-02-11 23:12:30 +0600 |
commit | 9c7b38981cb6429ba690aaef313e36fb694f9902 (patch) | |
tree | b49527d8533e5613efe75762a1f41af9927fff94 /youtube_dl/utils.py | |
parent | 388ae76b52ff85dba5c47f5958fbe3e662abd346 (diff) |
[utils] Bump Firefox version in User-Agent
Old version number causes Youtube not to serve some formats in ytplayer.config
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r-- | youtube_dl/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index dce67de8a..a82a262a0 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -56,7 +56,7 @@ from .compat import ( compiled_regex_type = type(re.compile('')) std_headers = { - 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)', + 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/44.0 (Chrome)', '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', |