Skip to content

Commit

Permalink
Update android client version to fix 400 Bad Request
Browse files Browse the repository at this point in the history
Fixes #201

Thanks to @MBCX
  • Loading branch information
user234683 committed Mar 9, 2024
1 parent 3883407 commit 1986b77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions youtube/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,11 +664,11 @@ def to_valid_filename(name):
'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': {
Expand Down

0 comments on commit 1986b77

Please sign in to comment.