Skip to content

Commit e3c989e

Browse files
committed
Backported fixes from #864
090debd
1 parent 3ce7f2e commit e3c989e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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
@@ -847,7 +847,8 @@ public void onFetchPage(@Nonnull final Downloader downloader)
847847
.getBytes(StandardCharsets.UTF_8);
848848
nextResponse = getJsonPostResponse(NEXT, body, localization);
849849

850-
if ((!isAgeRestricted && !isLive && !isPostLive)
850+
// this will only be run for post-live and normal streams
851+
if ((!isAgeRestricted && !isLive)
851852
|| isAndroidClientFetchForced) {
852853
try {
853854
fetchAndroidMobileJsonPlayer(contentCountry, localization, videoId);

0 commit comments

Comments
 (0)