From f010452abfb85c5c06252fe13bd640240a2d2aed Mon Sep 17 00:00:00 2001 From: Astound Date: Sun, 10 Mar 2024 02:02:42 +0800 Subject: Update android client version to fix 400 Bad Request --- youtube/util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'youtube') diff --git a/youtube/util.py b/youtube/util.py index dd38109..e278a23 100644 --- a/youtube/util.py +++ b/youtube/util.py @@ -674,11 +674,11 @@ INNERTUBE_CLIENTS = { 'hl': 'en', 'gl': 'US', 'clientName': 'ANDROID', - 'clientVersion': '17.31.35', + 'clientVersion': '18.11.34', 'osName': 'Android', 'osVersion': '12', - 'androidSdkVersion': 31, - 'userAgent': 'com.google.android.youtube/17.31.35 (Linux; U; Android 12) gzip' + 'androidSdkVersion': 30, + 'userAgent': 'com.google.android.youtube/18.11.34 (Linux; U; Android 12) gzip' }, # https://github.com/yt-dlp/yt-dlp/pull/575#issuecomment-887739287 #'thirdParty': { -- cgit v1.2.3