Add profiles to non-matching wavlake urls #561

Merged
Kieran merged 1 commits from rheedio/snort:fix-wavlake-profiles into main 2023-05-15 20:36:18 +00:00

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