[YouTube] Update Android client player parameters

YouTube disabled the effectiveness of the parameters which were used (the
player response we get redirects to another video), but new parameters which
work around Android's client integrity checks have been found.
This commit is contained in:
AudricV 2024-04-04 23:56:09 +02:00
parent 27dc1b1f50
commit 7bf50bf1cb
No known key found for this signature in database
GPG Key ID: DA92EC7905614198
1 changed files with 1 additions and 1 deletions

View File

@ -965,7 +965,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
.value(RACY_CHECK_OK, true)
// Workaround getting streaming URLs which return 403 HTTP response code by
// using some parameters for Android client requests
.value("params", "CgIQBg")
.value("params", "CgIIAQ%3D%3D")
.done())
.getBytes(StandardCharsets.UTF_8);