summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.local/share/libquvi-scripts/lua/website/ulmentv.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/share/libquvi-scripts/lua/website/ulmentv.lua b/.local/share/libquvi-scripts/lua/website/ulmentv.lua
index 2173c96..c66bc9b 100644
--- a/.local/share/libquvi-scripts/lua/website/ulmentv.lua
+++ b/.local/share/libquvi-scripts/lua/website/ulmentv.lua
@@ -7,7 +7,7 @@ function ident(self)
r.formats = "default|best"
r.categories = C.proto_rtmp
local U = require 'quvi/util'
- r.handles = U.handles(self.page_url, {r.domain}, {"/stuckrad%-barre/%d+/.+$"})
+ r.handles = U.handles(self.page_url, {r.domain}, {"/.+/%d+/.+$"})
return r
end
@@ -37,7 +37,7 @@ function parse(self)
self.id = c:match('<a href="#" data%-url="([^"]*)"')
or error("no match: request data url")
- self.url = { "rtmp://178.23.127.5:1935/vod/" .. self.id }
+ self.url = { "rtmp://178.23.127.5:1935/vod/" .. string.gsub(self.id, " ", "%%20") }
return self
end