diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2014-02-10 17:11:59 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2014-02-10 17:12:16 +0100 |
commit | eb0e116e0a149b8b7b4ac882306fe0b29eea1e6f (patch) | |
tree | 5d10caa93917a151cca0cc3a801e9fbea2a71ca1 /.local/share | |
parent | 30d120b9fa19a1f3ef9800b25a2ef34b384ed8dd (diff) | |
download | dotfiles-eb0e116e0a149b8b7b4ac882306fe0b29eea1e6f.tar.gz dotfiles-eb0e116e0a149b8b7b4ac882306fe0b29eea1e6f.tar.bz2 dotfiles-eb0e116e0a149b8b7b4ac882306fe0b29eea1e6f.zip |
quvi: cleanup
Diffstat (limited to '.local/share')
-rw-r--r-- | .local/share/libquvi-scripts/media/putlocker.lua | 4 |
1 files changed, 1 insertions, 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('<div class="site-content">%s*<h1>(.-)<strong>') - --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('<div class="site-content">[^<]+<h1>(.-)<strong>') qargs.streams = Putlocker.iter_streams(c, qargs) return qargs |