Merge pull request #168 from masozzi/dev

soundcloud parsing helper: fixed id parser regex
This commit is contained in:
Tobias Groza 2019-06-02 21:06:57 +02:00 committed by GitHub
commit c64c90a567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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);
}
/**