diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java index 68705c7a22..55fd2ebdd1 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java @@ -818,7 +818,9 @@ public void onFetchPage(@Nonnull final Downloader downloader) final PoTokenResult androidPoTokenResult = noPoTokenProviderSet ? null : providerInstance.getAndroidClientPoToken(); - fetchAndroidClient(localization, contentCountry, videoId, androidPoTokenResult); + if (androidPoTokenResult != null) { + fetchAndroidClient(localization, contentCountry, videoId, androidPoTokenResult); + } final byte[] nextBody = JsonWriter.string( prepareDesktopJsonBuilder(localization, contentCountry)