[YouTube] Don't escape & in getUrlFromNavigationEndpoint for playlists
This commit is contained in:
parent
a338e4e08e
commit
f90f6fcf92
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ public class YoutubeParsingHelper {
|
||||||
StringBuilder url = new StringBuilder();
|
StringBuilder url = new StringBuilder();
|
||||||
url.append("https://www.youtube.com/watch?v=").append(navigationEndpoint.getObject("watchEndpoint").getString("videoId"));
|
url.append("https://www.youtube.com/watch?v=").append(navigationEndpoint.getObject("watchEndpoint").getString("videoId"));
|
||||||
if (navigationEndpoint.getObject("watchEndpoint").has("playlistId")) {
|
if (navigationEndpoint.getObject("watchEndpoint").has("playlistId")) {
|
||||||
url.append("&list=").append(navigationEndpoint.getObject("watchEndpoint")
|
url.append("&list=").append(navigationEndpoint.getObject("watchEndpoint")
|
||||||
.getString("playlistId"));
|
.getString("playlistId"));
|
||||||
}
|
}
|
||||||
if (navigationEndpoint.getObject("watchEndpoint").has("startTimeSeconds")) {
|
if (navigationEndpoint.getObject("watchEndpoint").has("startTimeSeconds")) {
|
||||||
|
|
Loading…
Reference in a new issue