Backported fixes from #864

090debd83b
This commit is contained in:
litetex 2022-06-24 22:55:48 +02:00
parent 3ce7f2ef41
commit e3c989e183
1 changed files with 2 additions and 1 deletions

View File

@ -847,7 +847,8 @@ public class YoutubeStreamExtractor extends StreamExtractor {
.getBytes(StandardCharsets.UTF_8);
nextResponse = getJsonPostResponse(NEXT, body, localization);
if ((!isAgeRestricted && !isLive && !isPostLive)
// this will only be run for post-live and normal streams
if ((!isAgeRestricted && !isLive)
|| isAndroidClientFetchForced) {
try {
fetchAndroidMobileJsonPlayer(contentCountry, localization, videoId);