From e5ced0843294c75c0bd4ccaee126df62ca482673 Mon Sep 17 00:00:00 2001 From: nicolaasjan Date: Fri, 13 Feb 2026 08:36:10 +0100 Subject: [PATCH] Update Chrome major version range in user agent --- youtube_dl/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 334a655c1..8a1aececc 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -100,7 +100,7 @@ compiled_regex_type = compat_re_Pattern def random_user_agent(): USER_AGENT_TMPL = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/{} Safari/537.36' - CHROME_MAJOR_VERSION_RANGE = (134, 144) + CHROME_MAJOR_VERSION_RANGE = (135, 145) return USER_AGENT_TMPL.format('{0}.0.0.0'.format(random.randint(*CHROME_MAJOR_VERSION_RANGE)))