diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-12-12 00:49:07 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-12-12 00:49:07 +0700 |
commit | fb37eb25d9494d71ef9321154b4be759d4d64dca (patch) | |
tree | 000de6771e4e17a915743a5fb1b46d83db937278 /youtube_dl | |
parent | d2d2495e1669e880cd2eb56fa5c9a92f63c5476b (diff) |
[utils] Add common user agents map
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 = [ |