diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2014-01-11 19:26:51 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2014-01-11 19:26:51 +0100 |
commit | a3eb16b4f7a91bb25d64da2fb09b6099717939b9 (patch) | |
tree | 6d96729665391883bfd86274dfbd7f1476a209ac | |
parent | 1cb74d9c3770de1e41cd5ce4affd12a1d796c908 (diff) | |
download | dotfiles-a3eb16b4f7a91bb25d64da2fb09b6099717939b9.tar.gz dotfiles-a3eb16b4f7a91bb25d64da2fb09b6099717939b9.tar.bz2 dotfiles-a3eb16b4f7a91bb25d64da2fb09b6099717939b9.zip |
quvi/zdf: Handle the flash style url
-rw-r--r-- | .local/share/libquvi-scripts/lua/website/zdfmediathek.lua | 6 |
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 |