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
[YouTube] Don't provide streaming URLs which have an non-decoded n param
This param used to throttle bandwidth of streaming URLs which have this
parameter when the correct value is not provided but it is not the case
anymore, as the streaming URLs return now an HTTP response code 403 in
this case.
Copy file name to clipboardExpand all lines: extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java
+10-25Lines changed: 10 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -634,28 +634,6 @@ public List<VideoStream> getVideoOnlyStreams() throws ExtractionException {
634
634
getVideoStreamBuilderHelper(true), "video-only");
635
635
}
636
636
637
-
/**
638
-
* Try to deobfuscate a streaming URL and fall back to the given URL, because decryption may
639
-
* fail if YouTube changes break something.
640
-
*
641
-
* <p>
642
-
* This way a breaking change from YouTube does not result in a broken extractor.
643
-
* </p>
644
-
*
645
-
* @param streamingUrl the streaming URL to which deobfuscating its throttling parameter if
646
-
* there is one
647
-
* @param videoId the video ID to use when extracting JavaScript player code, if needed
0 commit comments