Skip to content

Commit

Permalink
Modify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiGr committed Jul 22, 2024
1 parent af63ec4 commit 17bbf4e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ public static String resolveIdWithWidgetApi(final String urlString) throws IOExc
if (ON_URL_PATTERN.matcher(fixedUrl).find()) {
try {
fixedUrl = NewPipe.getDownloader().head(fixedUrl).latestUrl();
fixedUrl = fixedUrl.split("\\?")[0]; // remove the query string
// remove tracking params which are in the query string
fixedUrl = fixedUrl.split("\\?")[0];
} catch (final ExtractionException e) {
throw new ParsingException(
"Could not follow on.soundcloud.com redirect", e);
throw new ParsingException("Could not follow on.soundcloud.com redirect", e);
}
}

Expand Down

0 comments on commit 17bbf4e

Please sign in to comment.