Update android params

Discovered by LuanRT - https://github.com/LuanRT/YouTube.js/pull/624
This commit is contained in:
2024-04-06 22:04:14 +08:00
parent d4cba7eb6c
commit 6039589f24
2 changed files with 4 additions and 8 deletions

View File

@@ -698,12 +698,8 @@ INNERTUBE_CLIENTS = {
'osVersion': '14',
'androidSdkVersion': 34,
'platform': 'MOBILE',
'userAgent': 'com.google.android.youtube/19.12.36 (Linux; U; Android 14; US) gzip'
},
# https://github.com/yt-dlp/yt-dlp/pull/575#issuecomment-887739287
#'thirdParty': {
# 'embedUrl': 'https://google.com', # Can be any valid URL
#}
'userAgent': 'com.google.android.youtube/19.13.36 (Linux; U; Android 14; en_US; Google Pixel 6 Pro) gzip'
}
},
'INNERTUBE_CONTEXT_CLIENT_NAME': 3,
'REQUIRE_JS_PLAYER': False,