From b62ed468eb63fee751ac708e01ab214c96b3efb8 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 6 Feb 2014 18:50:27 +0100 Subject: quvi/xvidstage: Parse only urls that have an id --- .local/share/libquvi-scripts/media/xvidstage.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/.local/share/libquvi-scripts/media/xvidstage.lua b/.local/share/libquvi-scripts/media/xvidstage.lua index ac8de78..e2b1b51 100644 --- a/.local/share/libquvi-scripts/media/xvidstage.lua +++ b/.local/share/libquvi-scripts/media/xvidstage.lua @@ -85,6 +85,7 @@ function Xvidstage.can_parse_url(qargs) return t and t.scheme and t.scheme:lower():match('^http$') and t.host and t.host:lower():match('xvidstage%.com$') + and t.path and t.path:match("^/[a-z0-9]+") and true or false end -- cgit