Skip to content

Commit d251a91

Browse files
committed
Backported fixes from #864
090debd
1 parent 29af885 commit d251a91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,8 @@ public void onFetchPage(@Nonnull final Downloader downloader)
841841
.getBytes(StandardCharsets.UTF_8);
842842
nextResponse = getJsonPostResponse(NEXT, body, localization);
843843

844-
if ((!isAgeRestricted && !isLive && !isPostLive)
844+
// this will only be run for post-live and normal streams
845+
if ((!isAgeRestricted && !isLive)
845846
|| isAndroidClientFetchForced) {
846847
try {
847848
fetchAndroidMobileJsonPlayer(contentCountry, localization, videoId);

0 commit comments

Comments
 (0)