fixup! fixup! Add support for on.soundcloud.com urls
This commit is contained in:
parent
c95104c812
commit
d3b61ca5d5
|
@ -197,6 +197,7 @@ public final class SoundcloudParsingHelper {
|
|||
if (ON_URL_PATTERN.matcher(fixedUrl).find()) {
|
||||
try {
|
||||
fixedUrl = NewPipe.getDownloader().head(fixedUrl).latestUrl();
|
||||
fixedUrl = fixedUrl.split("\\?")[0]; // remove the query string
|
||||
} catch (final ExtractionException e) {
|
||||
throw new ParsingException(
|
||||
"Could not follow on.soundcloud.com redirect", e);
|
||||
|
|
Loading…
Reference in New Issue