[utils] random_user_agent: Bump version range 151-157 => 152-158 (#18100)

Authored by: dlp-bot
This commit is contained in:
dlp-bot
2026-12-01 04:22:30 +00:00
committed by GitHub
parent 3345986010
commit 91171a9d1a
+1 -1
View File
@@ -17,7 +17,7 @@ from .traversal import traverse_obj
def random_user_agent():
USER_AGENT_TMPL = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/{}.0.0.0 Safari/537.36'
# Target versions released within the last ~6 months
CHROME_MAJOR_VERSION_RANGE = (151, 157)
CHROME_MAJOR_VERSION_RANGE = (152, 158)
return USER_AGENT_TMPL.format(random.randint(*CHROME_MAJOR_VERSION_RANGE))