Merge pull request #168 from masozzi/dev
soundcloud parsing helper: fixed id parser regex
This commit is contained in:
commit
c64c90a567
|
@ -113,7 +113,7 @@ public class SoundcloudParsingHelper {
|
||||||
|
|
||||||
String response = NewPipe.getDownloader().download("https://w.soundcloud.com/player/?url="
|
String response = NewPipe.getDownloader().download("https://w.soundcloud.com/player/?url="
|
||||||
+ URLEncoder.encode(url, "UTF-8"));
|
+ URLEncoder.encode(url, "UTF-8"));
|
||||||
return Parser.matchGroup1(",\"id\":(.*?),", response);
|
return Parser.matchGroup1(",\"id\":(([^}\\n])*?),", response);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue