Update YoutubeStreamExtractor.java

This commit is contained in:
Hassan Igbaria 2021-05-21 16:22:24 +03:00 committed by GitHub
parent 3a3ade20f4
commit e8b5364745
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -978,7 +978,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
private static String getVideoInfoUrl(final String id, final String sts) { private static String getVideoInfoUrl(final String id, final String sts) {
// TODO: Try parsing embedded_player_response first // TODO: Try parsing embedded_player_response first
return "https://www.youtube.com/get_video_info?" + "video_id=" + id + return "https://www.youtube.com/get_video_info?" + "video_id=" + id +
"&eurl=https://youtube.googleapis.com/v/" + id + "&html5=1&eurl=https://youtube.googleapis.com/v/" + id +
"&sts=" + sts + "&ps=default&gl=US&hl=en"; "&sts=" + sts + "&ps=default&gl=US&hl=en";
} }