1
0
forked from Kieran/snort

Merge pull request 'Add profiles to non-matching wavlake urls' (#561) from rheedio/snort:fix-wavlake-profiles into main

This commit is contained in:
Kieran 2023-05-15 20:36:10 +00:00
commit bbb38515f5

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