Add Android UA

This commit is contained in:
Matthias Lisin 2017-05-13 15:05:54 +02:00
parent 273749cce8
commit c814ced7b3
2 changed files with 9 additions and 2 deletions

View File

@ -1452,7 +1452,11 @@ class UserAgent(BaseType):
('Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like '
'Gecko',
"IE 11.0 for Desktop Win7 64-bit")
"IE 11.0 for Desktop Win7 64-bit"),
('Mozilla/5.0 (Linux; U; Android 7.1.2) AppleWebKit/534.30 '
'(KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
"Mobile Generic Android")
]
return out

5
scripts/dev/ua_fetch.py Normal file → Executable file
View File

@ -87,7 +87,10 @@ def add_diversity(table):
('Wget/1.16.1 (linux-gnu)',
"wget 1.16.1"),
('curl/7.40.0',
"curl 7.40.0")
"curl 7.40.0"),
('Mozilla/5.0 (Linux; U; Android 7.1.2) AppleWebKit/534.30 '
'(KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
"Mobile Generic Android")
]
return table