forked from Ponysearch/Ponysearch
update_firefox_version.py: update user agent signature
The user agent from Windows is Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0 See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox#windows
This commit is contained in:
parent
6bb6f7ffc1
commit
56e6d19b48
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ NORMAL_REGEX = re.compile('^[0-9]+\.[0-9](\.[0-9])?$')
|
||||||
#
|
#
|
||||||
useragents = {
|
useragents = {
|
||||||
"versions": (),
|
"versions": (),
|
||||||
"os": ('Windows NT 10.0; WOW64',
|
"os": ('Windows NT 10.0; Win64; x64',
|
||||||
'X11; Linux x86_64'),
|
'X11; Linux x86_64'),
|
||||||
"ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}"
|
"ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue