summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-08-14 23:27:12 +0700
committerSergey M․ <dstftw@gmail.com>2018-08-14 23:27:12 +0700
commit60c0856223391864135694197db2d17125fe4e8e (patch)
tree96ff50d0bfe8a252a505a761c7f51ee5f2284384
parent57c68ec4c303f471b2519db21b9b56c080d88338 (diff)
downloadyoutube-dl-60c0856223391864135694197db2d17125fe4e8e.tar.gz
youtube-dl-60c0856223391864135694197db2d17125fe4e8e.tar.xz
youtube-dl-60c0856223391864135694197db2d17125fe4e8e.zip
[utils] Use pure browser header for User-Agent (closes #17236)
-rw-r--r--youtube_dl/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 29cafd8f0..0c830ba71 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -82,7 +82,7 @@ def register_socks_protocols():
 compiled_regex_type = type(re.compile(''))
 
 std_headers = {
-    'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 (Chrome)',
+    'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0',
     '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',