Add profiles to non-matching wavlake urls
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Michael Rhee 2023-05-15 14:08:08 -05:00
parent d8fc92fafc
commit 4fdea1fdbd
No known key found for this signature in database

View File

@ -178,7 +178,7 @@ export const MagnetRegex = /(magnet:[\S]+)/i;
* Wavlake embed regex * Wavlake embed regex
*/ */
export const WavlakeRegex = export const WavlakeRegex =
/https?:\/\/(?:player\.|www\.)?wavlake\.com\/(?!top|new|artists|account|activity|login|preferences|feed)(?:(?:track|album)\/[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}|[a-z-]+)/i; /https?:\/\/(?:player\.|www\.)?wavlake\.com\/(?!top|new|artists|account|activity|login|preferences|feed|profile)(?:(?:track|album)\/[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}|[a-z-]+)/i;
/* /*
* Regex to match any base64 string * Regex to match any base64 string