Merge pull request #136 from ivanacostarubio/feat/mixcloud

adds mixcloud
This commit is contained in:
2023-01-26 09:50:53 +00:00
committed by GitHub
4 changed files with 39 additions and 2 deletions

View File

@ -99,3 +99,9 @@ export const TidalRegex = /tidal\.com\/(?:browse\/)?(\w+)\/([a-z0-9-]+)/i;
* SoundCloud regex
*/
export const SoundCloudRegex = /soundcloud\.com\/(?!live)([a-zA-Z0-9]+)\/([a-zA-Z0-9-]+)/
/**
* Mixcloud regex
*/
export const MixCloudRegex = /mixcloud\.com\/(?!live)([a-zA-Z0-9]+)\/([a-zA-Z0-9-]+)/