From: Sergey M․ Date: Sun, 11 Dec 2016 17:49:07 +0000 (+0700) Subject: [utils] Add common user agents map X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=fb37eb25d9494d71ef9321154b4be759d4d64dca;p=youtube-dl [utils] Add common user agents map --- diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 9595bcf9f..3d4951ad9 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -86,6 +86,11 @@ std_headers = { } +USER_AGENTS = { + 'Safari': 'Mozilla/5.0 (X11; Linux x86_64; rv:10.0) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27', +} + + NO_DEFAULT = object() ENGLISH_MONTH_NAMES = [