soundcloud parsing helper: fixed id parser regex

This commit is contained in:
Matteo Sozzi 2019-05-31 20:15:36 +02:00
parent 2ac713e70f
commit 93d4299f07

View file

@ -113,7 +113,7 @@ public class SoundcloudParsingHelper {
String response = NewPipe.getDownloader().download("https://w.soundcloud.com/player/?url="
+ URLEncoder.encode(url, "UTF-8"));
return Parser.matchGroup1(",\"id\":(.*?),", response);
return Parser.matchGroup1(",\"id\":(([^}\\n])*?),", response);
}
/**