A feature-rich command-line audio/video downloader
[utils] `random_user_agent`: Bump versions (#15396)
sepro9bf040dc6f34
diff --git a/yt_dlp/utils/networking.py b/yt_dlp/utils/networking.pyindex 44f877badb..0a4854308a 100644--- a/yt_dlp/utils/networking.py+++ b/yt_dlp/utils/networking.py@@ -17,7 +17,7 @@ from .traversal import traverse_objdef 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'# Target versions released within the last ~6 months- CHROME_MAJOR_VERSION_RANGE = (134, 140)+ CHROME_MAJOR_VERSION_RANGE = (137, 143)return USER_AGENT_TMPL.format(f'{random.randint(*CHROME_MAJOR_VERSION_RANGE)}.0.0.0')