Skip to content

Commit 93d4299

Browse files
committed
soundcloud parsing helper: fixed id parser regex
1 parent 2ac713e commit 93d4299

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public static String resolveIdWithEmbedPlayer(String url) throws IOException, Re
113113

114114
String response = NewPipe.getDownloader().download("https://w.soundcloud.com/player/?url="
115115
+ URLEncoder.encode(url, "UTF-8"));
116-
return Parser.matchGroup1(",\"id\":(.*?),", response);
116+
return Parser.matchGroup1(",\"id\":(([^}\\n])*?),", response);
117117
}
118118

119119
/**

0 commit comments

Comments
 (0)