diff --git a/play-dl/SoundCloud/index.ts b/play-dl/SoundCloud/index.ts index 1d9c923..7c59028 100644 --- a/play-dl/SoundCloud/index.ts +++ b/play-dl/SoundCloud/index.ts @@ -12,7 +12,7 @@ interface SoundDataOptions { client_id: string; } -const pattern = /^(?:(https?):\/\/)?(?:(?:www|m)\.)?(soundcloud\.com|snd\.sc)\/(.*)$/; +const pattern = /^(?:(https?):\/\/)?(?:(?:www|m)\.)?(api\.soundcloud\.com|soundcloud\.com|snd\.sc)\/(.*)$/; /** * Function to get info from a soundcloud url * @param url soundcloud url