diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-09-14 11:32:44 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-09-14 11:32:44 +0200 |
commit | 70f93455a06cc3f5d5c643c9492866a9011a4ce4 (patch) | |
tree | b5b7f16b53a6e685d1929c4831b01f6772c4d332 /.local/share | |
parent | 89998b09d981975bac731304df034d4e57a88ede (diff) | |
download | dotfiles-70f93455a06cc3f5d5c643c9492866a9011a4ce4.tar.gz dotfiles-70f93455a06cc3f5d5c643c9492866a9011a4ce4.tar.bz2 dotfiles-70f93455a06cc3f5d5c643c9492866a9011a4ce4.zip |
quvi ulmentv: Support shows with spaces in rtmp url as well
Though not all shows supported yet, some dont have meta tags for
og:image or og:title.
Diffstat (limited to '.local/share')
-rw-r--r-- | .local/share/libquvi-scripts/lua/website/ulmentv.lua | 4 |
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 |