aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAstound <kirito@disroot.org>2024-03-10 02:02:42 +0800
committerAstound <kirito@disroot.org>2024-03-10 02:02:42 +0800
commitf010452abfb85c5c06252fe13bd640240a2d2aed (patch)
tree3683977d6580b67c1497b04de3e149ab180dc680
parentab93f8242b667131976b21266f9fb6e228783585 (diff)
downloadyt-local-f010452abfb85c5c06252fe13bd640240a2d2aed.tar.lz
yt-local-f010452abfb85c5c06252fe13bd640240a2d2aed.tar.xz
yt-local-f010452abfb85c5c06252fe13bd640240a2d2aed.zip
Update android client version to fix 400 Bad Request
-rw-r--r--youtube/util.py6
1 files changed, 3 insertions, 3 deletions
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': {