Fix "This video is unavailable" due to outdated android

client

Send the latest android client version as well as a new key
with the sdk version.

See https://github.com/iv-org/invidious/pull/3255 for more details

Fixes #165
This commit is contained in:
Jesus E 2023-05-28 21:21:11 -04:00
parent 43e7f7ce93
commit c6e1b366b5
No known key found for this signature in database
GPG Key ID: 159C8F8BC9AED8B6

View File

@ -362,7 +362,8 @@ def extract_info(video_id, use_invidious, playlist_id=None, index=None):
context = {
'client': {
'clientName': 'ANDROID',
'clientVersion': '16.20',
'clientVersion': '17.29.35',
'androidSdkVersion': '31',
'gl': 'US',
'hl': 'en',
},