From b475f09ba7c8b914459f76b92b9030891fa95b23 Mon Sep 17 00:00:00 2001 From: bopol Date: Wed, 23 Jun 2021 20:33:32 +0200 Subject: [PATCH] don't do useless concatenation --- .../services/youtube/extractors/YoutubeStreamExtractor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0c7b396ed..ad2b1f7db 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 @@ -968,7 +968,7 @@ public class YoutubeStreamExtractor extends StreamExtractor { @Nonnull private static String getVideoInfoUrl(final String id) { // 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&c=TVHTML5&cver=6.20180913&gl=US&hl=en"; }