Fix Akvideo Regex

This commit is contained in:
Alhaziel01
2020-09-14 11:24:58 +02:00
parent f58f380482
commit 3c8eca8e37
+5 -4
View File
@@ -1,14 +1,15 @@
{ {
"active": true, "active": true,
"find_videos": { "find_videos": {
"ignore_urls": ["http://akvideo.stream/video", "http://akvideo.stream/video/api"], "ignore_urls": [ "http://akvideo.stream/video/api"],
"patterns": [ "patterns": [
{ {
"pattern": "https?://(?:akvideo\\.stream|akvi\\.club)/[^\\s]+[/=]([$0-9]+)(?:[\\s<]|$|\\.html)", "pattern": "https?://(?:akvideo\\.stream|akvi\\.club)/[^\\s]+[/=]([$0-9]+)(?:[\\s<]|$|\\.html)",
"url": "http://akvideo.stream/swembedid/\\1" "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" "url": "http://akvi.club/embed-\\1.html"
} }
] ]