From da94233a7e27762392b2a242e95d11580ed59bfd Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Mon, 14 Sep 2020 11:29:50 +0200 Subject: [PATCH] Fix Akvideo Regex --- servers/akvideo.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/servers/akvideo.json b/servers/akvideo.json index 2a8fa07e..c8305d65 100644 --- a/servers/akvideo.json +++ b/servers/akvideo.json @@ -1,14 +1,15 @@ { "active": true, "find_videos": { - "ignore_urls": ["http://akvideo.stream/video", "http://akvideo.stream/video/api"], + "ignore_urls": [ "http://akvideo.stream/video/api"], + "patterns": [ { - "pattern": "https?://(?:akvideo\\.stream|akvi\\.club)/[^\\s]+[/=]([$0-9]+)(?:[\\s<]|$|\\.html)", - "url": "http://akvideo.stream/swembedid/\\1" + "pattern": "https?://(?:akvideo\\.stream|akvi\\.club)/[^\\s]+[/=]([$0-9]+)(?:[\\s<]|$|\\.html)", + "url": "http://akvideo.stream/swembedid/\\1" }, { - "pattern": "https?://(?:akvideo\\.stream|akvi\\.club)/(?:embed-|video\\.php\\?file_code=)?([a-z0-9]+)(?:[\\s<]|$|\\.html)", + "pattern": "https?://(?:akvideo\\.stream|akvi\\.club)/(?:embed-|video/|video\\.php\\?file_code=)?([a-z0-9]+)(?:[\\s<]|$|\\.html)", "url": "http://akvi.club/embed-\\1.html" } ]