From eb0e116e0a149b8b7b4ac882306fe0b29eea1e6f Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 10 Feb 2014 17:11:59 +0100 Subject: quvi: cleanup --- .local/share/libquvi-scripts/media/putlocker.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.local/share/libquvi-scripts/media/putlocker.lua b/.local/share/libquvi-scripts/media/putlocker.lua index e0749bb..dd80df6 100644 --- a/.local/share/libquvi-scripts/media/putlocker.lua +++ b/.local/share/libquvi-scripts/media/putlocker.lua @@ -19,9 +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('
%s*

(.-)') - --qargs.thumb_url = c:match('property="og:image"%s+content="(.-)"') - --qargs.duration_ms = tonumber(c:match('duration:%s*"(%d+)"') or 0) * 1000 + qargs.title = c:match('
[^<]+

(.-)') qargs.streams = Putlocker.iter_streams(c, qargs) return qargs -- cgit