mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-06 04:32:40 +00:00
SoundCloud API Url fixed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user