mirror of
https://github.com/searxng/searxng.git
synced 2026-01-13 18:15:30 +00:00
[fix] google: switch to using GSA for iPhone useragent
This commit is contained in:
@@ -4,11 +4,12 @@
|
||||
data.help() {
|
||||
cat <<EOF
|
||||
data.:
|
||||
all : update searx/sxng_locales.py and searx/data/*
|
||||
traits : update searx/data/engine_traits.json & searx/sxng_locales.py
|
||||
useragents: update searx/data/useragents.json with the most recent versions of Firefox
|
||||
locales : update searx/data/locales.json from babel
|
||||
currencies: update searx/data/currencies.json from wikidata
|
||||
all : update searx/sxng_locales.py and searx/data/*
|
||||
traits : update searx/data/engine_traits.json & searx/sxng_locales.py
|
||||
useragents : update searx/data/useragents.json with the most recent versions of Firefox
|
||||
gsa_useragents: update searx/data/gsa_useragents.txt with compatible useragents
|
||||
locales : update searx/data/locales.json from babel
|
||||
currencies : update searx/data/currencies.json from wikidata
|
||||
EOF
|
||||
}
|
||||
|
||||
@@ -19,6 +20,7 @@ data.all() {
|
||||
pyenv.activate
|
||||
data.traits
|
||||
data.useragents
|
||||
data.gsa_useragents
|
||||
data.locales
|
||||
|
||||
build_msg DATA "update searx/data/osm_keys_tags.json"
|
||||
@@ -53,6 +55,12 @@ data.useragents() {
|
||||
dump_return $?
|
||||
}
|
||||
|
||||
data.gsa_useragents() {
|
||||
build_msg DATA "update searx/data/gsa_useragents.txt"
|
||||
pyenv.cmd python searxng_extra/update/update_gsa_useragents.py
|
||||
dump_return $?
|
||||
}
|
||||
|
||||
data.locales() {
|
||||
(
|
||||
set -e
|
||||
|
||||
Reference in New Issue
Block a user