1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 21:27:52 +08:00

[utils] Bump Firefox version in User-Agent

Old version number causes Youtube not to serve some formats in ytplayer.config
This commit is contained in:
Sergey M․ 2016-02-11 23:12:30 +06:00
parent 388ae76b52
commit 9c7b38981c

View File

@ -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',