You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -602,15 +602,21 @@ public List<VideoStream> getVideoOnlyStreams() throws ExtractionException {
602
602
}
603
603
604
604
/**
605
-
* Try to decrypt url and fallback to given url, because decryption is not
606
-
* always needed.
605
+
* Try to decrypt a streaming URL and fallback to the given URL, because decryption may fail if
606
+
* YouTube do breaking changes.
607
+
*
608
+
* <p>
607
609
* This way a breaking change from YouTube does not result in a broken extractor.
610
+
* </p>
611
+
*
612
+
* @param streamingUrl the streaming URL to decrypt with {@link YoutubeThrottlingDecrypter}
613
+
* @param videoId the video ID to use when extracting JavaScript player code, if needed
0 commit comments