From 93d4299f075c3defcb465fc8709594017f2216cf Mon Sep 17 00:00:00 2001 From: Matteo Sozzi Date: Fri, 31 May 2019 20:15:36 +0200 Subject: [PATCH] soundcloud parsing helper: fixed id parser regex --- .../extractor/services/soundcloud/SoundcloudParsingHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java index 317ccfb34..c0a641e60 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java @@ -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); } /**