]> jfr.im git - yt-dlp.git/commit
[extractor/youtube] Add `androidSdkVersion` parameter to Android Innertube clients
authorcoletdjnz <redacted>
Mon, 8 Aug 2022 00:01:57 +0000 (12:01 +1200)
committercoletdjnz <redacted>
Mon, 8 Aug 2022 00:03:10 +0000 (12:03 +1200)
commitc7dcf0b31e57bb98472da7cf293f523caa81c4a7
tree14259eee866d6e9bf0d4bf98c8316110b5c69036
parent298d9c0e891b1a0fbc3ec6d3674ff6fbc550d6ec
[extractor/youtube] Add `androidSdkVersion` parameter to Android Innertube clients

Required to prevent YouTube returning a bad player response in some cases.

See: https://github.com/yt-dlp/yt-dlp/pull/4593, https://github.com/TeamNewPipe/NewPipe/issues/8713, https://github.com/iv-org/invidious/issues/3230, https://github.com/Tyrrrz/YoutubeExplode/issues/647

Authored by: coletdjnz
yt_dlp/extractor/youtube.py