Skip to content

Commit c505d4e

Browse files
committed
[SoundCloud] Remove trailing , in playlist page urls
1 parent ae47c95 commit c505d4e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudPlaylistExtractor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,9 @@ private void computeInitialTracksAndNextPageUrl() throws IOException, Extraction
141141
}
142142
}
143143

144+
nextPageUrlBuilder.setLength(nextPageUrlBuilder.length() - 1); // remove trailing ,
144145
nextPageUrl = nextPageUrlBuilder.toString();
145-
if (nextPageUrl.endsWith("&ids=")) {
146+
if (nextPageUrl.endsWith("&ids")) {
146147
// there are no other videos
147148
nextPageUrl = "";
148149
}

0 commit comments

Comments
 (0)