Skip to content

Commit 17bbf4e

Browse files
committed
Modify comment
1 parent af63ec4 commit 17bbf4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@ public static String resolveIdWithWidgetApi(final String urlString) throws IOExc
197197
if (ON_URL_PATTERN.matcher(fixedUrl).find()) {
198198
try {
199199
fixedUrl = NewPipe.getDownloader().head(fixedUrl).latestUrl();
200-
fixedUrl = fixedUrl.split("\\?")[0]; // remove the query string
200+
// remove tracking params which are in the query string
201+
fixedUrl = fixedUrl.split("\\?")[0];
201202
} catch (final ExtractionException e) {
202-
throw new ParsingException(
203-
"Could not follow on.soundcloud.com redirect", e);
203+
throw new ParsingException("Could not follow on.soundcloud.com redirect", e);
204204
}
205205
}
206206

0 commit comments

Comments
 (0)