File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
extractor/src/main/java/org/schabi/newpipe/extractor/services/soundcloud Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -197,10 +197,10 @@ public static String resolveIdWithWidgetApi(final String urlString) throws IOExc
197
197
if (ON_URL_PATTERN .matcher (fixedUrl ).find ()) {
198
198
try {
199
199
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 ];
201
202
} 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 );
204
204
}
205
205
}
206
206
You can’t perform that action at this time.
0 commit comments