Skip to content

Commit 7bf50bf

Browse files
committed
[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.
1 parent 27dc1b1 commit 7bf50bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ private void fetchAndroidMobileJsonPlayer(@Nonnull final ContentCountry contentC
965965
.value(RACY_CHECK_OK, true)
966966
// Workaround getting streaming URLs which return 403 HTTP response code by
967967
// using some parameters for Android client requests
968-
.value("params", "CgIQBg")
968+
.value("params", "CgIIAQ%3D%3D")
969969
.done())
970970
.getBytes(StandardCharsets.UTF_8);
971971

0 commit comments

Comments
 (0)