projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
388ae76
)
[utils] Bump Firefox version in User-Agent
author
Sergey M․
<dstftw@gmail.com>
Thu, 11 Feb 2016 17:12:30 +0000
(23:12 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 11 Feb 2016 17:12:30 +0000
(23:12 +0600)
Old version number causes Youtube not to serve some formats in ytplayer.config
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index dce67de8ac323441926aa1337153e193b88f8c0a..a82a262a03ae268a942fa851eedc4de268fdae8c 100644
(file)
--- 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',