Class YoutubeStreamHelper
java.lang.Object
org.schabi.newpipe.extractor.services.youtube.YoutubeStreamHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.grack.nanojson.JsonObjectgetVisionOsPlayerResponse(ContentCountry contentCountry, Localization localization, String videoId, String cpn) static com.grack.nanojson.JsonObjectgetWebMetadataPlayerResponse(Localization localization, ContentCountry contentCountry, String videoId)
-
Method Details
-
getWebMetadataPlayerResponse
@Nonnull public static com.grack.nanojson.JsonObject getWebMetadataPlayerResponse(@Nonnull Localization localization, @Nonnull ContentCountry contentCountry, @Nonnull String videoId) throws IOException, ExtractionException - Throws:
IOExceptionExtractionException
-
getVisionOsPlayerResponse
public static com.grack.nanojson.JsonObject getVisionOsPlayerResponse(@Nonnull ContentCountry contentCountry, @Nonnull Localization localization, @Nonnull String videoId, @Nonnull String cpn) throws IOException, ExtractionException - Throws:
IOExceptionExtractionException
-