SoundCloud API Url fixed
This commit is contained in:
parent
704ddd303a
commit
4f49d16b16
@ -12,7 +12,7 @@ interface SoundDataOptions {
|
|||||||
client_id: string;
|
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
|
* Function to get info from a soundcloud url
|
||||||
* @param url soundcloud url
|
* @param url soundcloud url
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user