From cb0ad47ef9e476cb7eb02be5017f18baf1a5c215 Mon Sep 17 00:00:00 2001 From: Will Larson Date: Tue, 24 Nov 2026 13:18:22 -0800 Subject: [PATCH] Replace outdated USER_AGENTS with current devices The stock pool pretends to be a 2013 Nexus 5, a 2015 Galaxy S6 and a 2016 Galaxy S7 edge, each claiming an Android version that phone never officially ran (Nexus 5 ended at 6.0.1, S6 at 7.0, S7 edge at 8.0). Replace them with five devices real TGTG users carry in 2026, every build string verified against the vendor's own firmware listings: - Pixel 7 Pro, Android 14, UQ1A.240105.004 (Google Jan 2024 update; also the device the DataDome fingerprint already emulates as mdl) - Redmi Note 14 Pro 5G (24090RA29G), Android 16, BP2A.250605.031.A3 (HyperOS 3 stable fingerprints, EEA + global; model on GSMArena) - Galaxy S24 Ultra (SM-S928B), Android 14, S928BXXS3AXFC (SamMobile) - Galaxy S25 (SM-S931B), Android 15, S931BXXU1AYB4 (SamMobile) - Galaxy A56 (SM-A566B), Android 15, A566BXXU3AYDK (SamMobile) Live-tested for four days against the live API (item/v9/) at ~60s polling with zero auth or DataDome failures. --- tgtg/__init__.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tgtg/__init__.py b/tgtg/__init__.py index eedf8e7..7c5e256 100644 --- a/tgtg/__init__.py +++ b/tgtg/__init__.py @@ -34,9 +34,11 @@ DEFAULT_APK_VERSION = "24.11.0" USER_AGENTS = [ - "TGTG/{} Dalvik/2.1.0 (Linux; U; Android 9; Nexus 5 Build/M4B30Z)", - "TGTG/{} Dalvik/2.1.0 (Linux; U; Android 10; SM-G935F Build/NRD90M)", - "TGTG/{} Dalvik/2.1.0 (Linux; Android 12; SM-G920V Build/MMB29K)", + "TGTG/{} Dalvik/2.1.0 (Linux; U; Android 14; Pixel 7 Pro Build/UQ1A.240105.004)", + "TGTG/{} Dalvik/2.1.0 (Linux; U; Android 16; 24090RA29G Build/BP2A.250605.031.A3)", + "TGTG/{} Dalvik/2.1.0 (Linux; U; Android 14; SM-S928B Build/S928BXXS3AXFC)", + "TGTG/{} Dalvik/2.1.0 (Linux; U; Android 15; SM-S931B Build/S931BXXU1AYB4)", + "TGTG/{} Dalvik/2.1.0 (Linux; U; Android 15; SM-A566B Build/A566BXXU3AYDK)", ] DEFAULT_ACCESS_TOKEN_LIFETIME = 3600 * 4 # 4 hours MAX_POLLING_TRIES = 24 # 24 * POLLING_WAIT_TIME = 2 minutes