[fix] google: switch to using "Google Go App" (NSTNWV) useragent

This commit is contained in:
Esen
2026-04-10 08:41:34 +03:00
committed by Markus Heiser
parent 08ef7a63d7
commit 67af4894d4
3 changed files with 2670 additions and 2602 deletions
@@ -26,7 +26,12 @@ def fetch_gsa_useragents() -> list[str]:
suas: set[str] = set()
for ua in loads(decompress(response.content)):
if "Android" in ua["userAgent"] and "Chrome" in ua["userAgent"] and "Samsung" not in ua["userAgent"]:
if (
"Android" in ua["userAgent"]
and "Chrome" in ua["userAgent"]
and "Samsung" not in ua["userAgent"]
and "Android 10; K" not in ua["userAgent"]
):
suas.add(ua["userAgent"])
luas = list(suas)