From 723939b81c5200dd219798c2bbd4b2d762956457 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 10 Feb 2014 20:01:12 +0100 Subject: quvi/putlocker: Simplify title matching Fixes title for sockshare.com --- .local/share/libquvi-scripts/media/putlocker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/share/libquvi-scripts/media/putlocker.lua b/.local/share/libquvi-scripts/media/putlocker.lua index dd80df6..f550c71 100644 --- a/.local/share/libquvi-scripts/media/putlocker.lua +++ b/.local/share/libquvi-scripts/media/putlocker.lua @@ -19,7 +19,7 @@ function parse(qargs) c = R.request(qargs.input_url, "POST", p) qargs.id = qargs.input_url:match("file/([A-Z0-9]+)") - qargs.title = c:match('
[^<]+

(.-)') + qargs.title = c:match('var name = "(.-)"') qargs.streams = Putlocker.iter_streams(c, qargs) return qargs -- cgit