From c76ce28e06c816eb5b261dfb6aff6e69dd9b7382 Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Sun, 10 Aug 2025 01:53:10 -0500 Subject: [PATCH 1/2] Deprecate `linux_armv7l_exe` support (#13978) Ref: https://github.com/yt-dlp/yt-dlp/issues/13976 Authored by: bashonly --- yt_dlp/update.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/yt_dlp/update.py b/yt_dlp/update.py index 045f7ec7f..3421959f3 100644 --- a/yt_dlp/update.py +++ b/yt_dlp/update.py @@ -153,6 +153,12 @@ def _get_system_deprecation(): f'{variant} (the PyInstaller-bundled executable for macOS versions older than 10.15)', 'issues/13856', STOP_MSG) + # Temporary until linux_armv7l executable builds are discontinued + if variant in ('linux_armv7l_exe'): + return EXE_MSG_TMPL.format( + f'{variant} (the PyInstaller-bundled executable for the Linux armv7l platform)', + 'issues/13976', STOP_MSG) + if sys.version_info > MIN_RECOMMENDED: return None @@ -162,13 +168,6 @@ def _get_system_deprecation(): if sys.version_info < MIN_SUPPORTED: return f'Python version {major}.{minor} is no longer supported! {PYTHON_MSG}' - # Temporary until aarch64/armv7l build flow is bumped to Ubuntu 22.04 and Python 3.10 - if variant in ('linux_aarch64_exe', 'linux_armv7l_exe'): - libc_ver = version_tuple(os.confstr('CS_GNU_LIBC_VERSION').partition(' ')[2]) - if libc_ver < (2, 35): - return EXE_MSG_TMPL.format('system glibc version < 2.35', 'issues/13858', STOP_MSG) - return None - return f'Support for Python version {major}.{minor} has been deprecated. {PYTHON_MSG}' From bf366517ef0b745490ee9e0f929254fa26b69647 Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Sun, 10 Aug 2025 02:33:45 -0500 Subject: [PATCH 2/2] [ie/youtube] Update player params (#13979) Closes #13930 Authored by: bashonly --- yt_dlp/extractor/youtube/_base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yt_dlp/extractor/youtube/_base.py b/yt_dlp/extractor/youtube/_base.py index f7dadd013..d28550794 100644 --- a/yt_dlp/extractor/youtube/_base.py +++ b/yt_dlp/extractor/youtube/_base.py @@ -105,7 +105,7 @@ class SubsPoTokenPolicy(BasePoTokenPolicy): 'INNERTUBE_CONTEXT_CLIENT_NAME': 1, 'SUPPORTS_COOKIES': True, **WEB_PO_TOKEN_POLICIES, - 'PLAYER_PARAMS': '8AEB', + 'PLAYER_PARAMS': '8AEB2AMB', }, # Safari UA returns pre-merged video+audio 144p/240p/360p/720p/1080p HLS formats 'web_safari': { @@ -119,7 +119,7 @@ class SubsPoTokenPolicy(BasePoTokenPolicy): 'INNERTUBE_CONTEXT_CLIENT_NAME': 1, 'SUPPORTS_COOKIES': True, **WEB_PO_TOKEN_POLICIES, - 'PLAYER_PARAMS': '8AEB', + 'PLAYER_PARAMS': '8AEB2AMB', }, 'web_embedded': { 'INNERTUBE_CONTEXT': { @@ -282,7 +282,7 @@ class SubsPoTokenPolicy(BasePoTokenPolicy): 'userAgent': 'Mozilla/5.0 (iPad; CPU OS 16_7_10 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1,gzip(gfe)', }, }, - 'PLAYER_PARAMS': '8AEB', + 'PLAYER_PARAMS': '8AEB2AMB', 'INNERTUBE_CONTEXT_CLIENT_NAME': 2, 'GVS_PO_TOKEN_POLICY': { StreamingProtocol.HTTPS: GvsPoTokenPolicy( @@ -314,7 +314,7 @@ class SubsPoTokenPolicy(BasePoTokenPolicy): }, 'INNERTUBE_CONTEXT_CLIENT_NAME': 7, 'SUPPORTS_COOKIES': True, - 'PLAYER_PARAMS': '8AEB', + 'PLAYER_PARAMS': '8AEB2AMB', }, 'tv_simply': { 'INNERTUBE_CONTEXT': {