summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.local/share/libquvi-scripts/lua/website/zdfmediathek.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/share/libquvi-scripts/lua/website/zdfmediathek.lua b/.local/share/libquvi-scripts/lua/website/zdfmediathek.lua
index f224395..ca2cc28 100644
--- a/.local/share/libquvi-scripts/lua/website/zdfmediathek.lua
+++ b/.local/share/libquvi-scripts/lua/website/zdfmediathek.lua
@@ -8,7 +8,7 @@ function ident(self)
r.categories = C.proto_rtmp
local U = require 'quvi/util'
r.handles = U.handles(self.page_url, {r.domain},
- {"/ZDFmediathek/beitrag/video/"})
+ {"/ZDFmediathek/"})
return r
end
@@ -23,8 +23,8 @@ end
function parse(self)
self.host_id = "zdfmediathek"
- self.id = self.page_url:match("/ZDFmediathek/beitrag/video/(%d+)")
- or error ("no match: media id")
+ self.id = self.page_url:match("/ZDFmediathek/#?/?beitrag/video/(%d+)")
+ or error ("no match: media id")
local xmlwebservice_url = "http://www.zdf.de/ZDFmediathek/xmlservice/web/beitragsDetails?id=" .. self.id