forked from Kieran/snort
Fix Wavlake zine links without trailing slash, ignore top and new links (#537)
This commit is contained in:
parent
d47bbd5b26
commit
9258253f65
@ -178,4 +178,4 @@ export const MagnetRegex = /(magnet:[\S]+)/i;
|
|||||||
* Wavlake embed regex
|
* Wavlake embed regex
|
||||||
*/
|
*/
|
||||||
export const WavlakeRegex =
|
export const WavlakeRegex =
|
||||||
/(?!zine\.wavlake\.com)(?:player\.|www\.)?wavlake\.com\/(?:(?: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)(?:(?:track|album)\/[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}|[a-z-]+)/i;
|
||||||
|
Loading…
Reference in New Issue
Block a user