Updated user agent string.

This commit is contained in:
sashk 2017-06-20 21:43:01 -04:00
parent 41c9559cf4
commit 1e0e3f2e2f
1 changed files with 2 additions and 2 deletions

View File

@ -393,10 +393,10 @@ def build_user_agent():
ua_tuple = (
'Mozilla/5.0',
'(%s; U; %s; en-us)' % (platform.system(), platform.architecture()[0]),
'(%s; U; %s; rv:%s)' % (platform.system(), platform.architecture()[0], __version__),
'Gecko/20100101',
'(KHTML, like Gecko)',
'Firefox/53.0'
'speedtest-cli'
)
USER_AGENT = ' '.join(ua_tuple)
printer(USER_AGENT, debug=True)