[YouTube] Workaround again 403 HTTP issues on the Android client by using new player parameters
These parameters are the only ones currently known to bypass 403 HTTP issues related to failure of passing Android client integrity checks, as the ones of stories (and the base of the shorts ones) do not work anymore, which may be related to end of this format on the service.
This commit is contained in:
parent
986a3f7747
commit
164c8e3abb
|
@ -981,11 +981,9 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||
.value(CPN, androidCpn)
|
||||
.value(CONTENT_CHECK_OK, true)
|
||||
.value(RACY_CHECK_OK, true)
|
||||
// Workaround getting streaming URLs which can return 403 HTTP response
|
||||
// codes by using stories parameter for Android client requests
|
||||
// This behavior only happen in certain countries such as UK as of
|
||||
// 10.29.2022
|
||||
.value("params", "8AEB")
|
||||
// Workaround getting streaming URLs which return 403 HTTP response code by
|
||||
// using some parameters for Android client requests
|
||||
.value("params", "CgIQBg")
|
||||
.done())
|
||||
.getBytes(StandardCharsets.UTF_8);
|
||||
|
||||
|
|
Loading…
Reference in New Issue