Update default user agent to mention Limnoria

This commit is contained in:
Valentin Lorentz 2021-11-08 23:20:13 +01:00
parent abe59022b4
commit 12c526bc1c
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ allowDefaultOwner = False
# Here we replace values in other modules as appropriate.
###
utils.web.defaultHeaders['User-agent'] = \
'Mozilla/5.0 (Compatible; Supybot %s)' % version
'Mozilla/5.0 (Compatible; Limnoria %s)' % version
###
# The standard registry.

View File

@ -118,7 +118,7 @@ def strError(e):
# Used to build defaultHeaders
baseDefaultHeaders = {
'User-agent': 'Mozilla/5.0 (compatible; utils.web python module)'
'User-agent': 'Mozilla/5.0 (compatible; utils.web Limnoria module)'
}
# overridable by other modules/plugins.