From a3eb16b4f7a91bb25d64da2fb09b6099717939b9 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sat, 11 Jan 2014 19:26:51 +0100 Subject: quvi/zdf: Handle the flash style url --- .local/share/libquvi-scripts/lua/website/zdfmediathek.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local/share') 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 -- cgit