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 79e50e4ba..24f16c6d4 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
@@ -235,18 +235,18 @@ public class YoutubeStreamExtractor extends StreamExtractor {
.getString("canonicalBaseUrl")).append("\">").append(text).append("");
htmlConversionRequired = true;
} else if (textHolder.getObject("navigationEndpoint").getObject("watchEndpoint") != null) {
+ descriptionBuilder.append("").append(text).append("");
- } else {
- descriptionBuilder.append("").append(text).append("");
+ descriptionBuilder.append("&list=").append(textHolder.getObject("navigationEndpoint")
+ .getObject("watchEndpoint").getString("playlistId"));
}
+ if (textHolder.getObject("navigationEndpoint").getObject("watchEndpoint").has("startTimeSeconds")) {
+ descriptionBuilder.append("&t=").append(textHolder.getObject("navigationEndpoint")
+ .getObject("watchEndpoint").getInt("startTimeSeconds"));
+ }
+ descriptionBuilder.append("\">").append(text).append("");
htmlConversionRequired = true;
}
continue;