[YouTube] Don't escape & in getUrlFromNavigationEndpoint for playlists

This commit is contained in:
XiangRongLin 2020-12-12 20:40:13 +01:00
parent a338e4e08e
commit f90f6fcf92
1 changed files with 1 additions and 1 deletions

View File

@ -478,7 +478,7 @@ public class YoutubeParsingHelper {
StringBuilder url = new StringBuilder();
url.append("https://www.youtube.com/watch?v=").append(navigationEndpoint.getObject("watchEndpoint").getString("videoId"));
if (navigationEndpoint.getObject("watchEndpoint").has("playlistId")) {
url.append("&list=").append(navigationEndpoint.getObject("watchEndpoint")
url.append("&list=").append(navigationEndpoint.getObject("watchEndpoint")
.getString("playlistId"));
}
if (navigationEndpoint.getObject("watchEndpoint").has("startTimeSeconds")) {