mirror of
https://github.com/searxng/searxng
synced 2024-11-18 15:26:25 +00:00
Merge pull request #1752 from MarcAbonce/user-agents-update
User agents update
This commit is contained in:
commit
3f93fe04d8
@ -70,6 +70,11 @@ locales() {
|
|||||||
pybabel compile -d "$SEARX_DIR/translations"
|
pybabel compile -d "$SEARX_DIR/translations"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update_useragents() {
|
||||||
|
echo '[!] Updating user agent versions'
|
||||||
|
python utils/fetch_firefox_version.py
|
||||||
|
}
|
||||||
|
|
||||||
pep8_check() {
|
pep8_check() {
|
||||||
echo '[!] Running pep8 check'
|
echo '[!] Running pep8 check'
|
||||||
# ignored rules:
|
# ignored rules:
|
||||||
@ -246,6 +251,7 @@ Commands
|
|||||||
update_dev_packages - Check & update development and production dependency changes
|
update_dev_packages - Check & update development and production dependency changes
|
||||||
install_geckodriver - Download & install geckodriver if not already installed (required for robot_tests)
|
install_geckodriver - Download & install geckodriver if not already installed (required for robot_tests)
|
||||||
npm_packages - Download & install npm dependencies
|
npm_packages - Download & install npm dependencies
|
||||||
|
update_useragents - Update useragents.json with the most recent versions of Firefox
|
||||||
|
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}",
|
|
||||||
"versions": [
|
"versions": [
|
||||||
"61.0.1",
|
"70.0.1",
|
||||||
"61.0",
|
"70.0",
|
||||||
"60.0.2",
|
"69.0.3",
|
||||||
"60.0.1",
|
"69.0.2",
|
||||||
"60.0"
|
"69.0.1",
|
||||||
|
"69.0"
|
||||||
],
|
],
|
||||||
"os": [
|
"os": [
|
||||||
"Windows NT 10; WOW64",
|
"Windows NT 10; WOW64",
|
||||||
"X11; Linux x86_64"
|
"X11; Linux x86_64"
|
||||||
]
|
],
|
||||||
|
"ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user