[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.
pull/1168/head
AudricV 2024-04-04 23:56:09 +02:00
rodzic 27dc1b1f50
commit 7bf50bf1cb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DA92EC7905614198
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);