summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2014-02-10 20:01:12 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2014-02-10 20:01:12 +0100
commit723939b81c5200dd219798c2bbd4b2d762956457 (patch)
tree56e6a96dcd6bac57f6a17b58fc265c80cfc484ce /.local
parenteb0e116e0a149b8b7b4ac882306fe0b29eea1e6f (diff)
downloaddotfiles-723939b81c5200dd219798c2bbd4b2d762956457.tar.gz
dotfiles-723939b81c5200dd219798c2bbd4b2d762956457.tar.bz2
dotfiles-723939b81c5200dd219798c2bbd4b2d762956457.zip
quvi/putlocker: Simplify title matching
Fixes title for sockshare.com
Diffstat (limited to '.local')
-rw-r--r--.local/share/libquvi-scripts/media/putlocker.lua2
1 files changed, 1 insertions, 1 deletions
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('<div class="site-content">[^<]+<h1>(.-)<strong>')
+ qargs.title = c:match('var name = "(.-)"')
qargs.streams = Putlocker.iter_streams(c, qargs)
return qargs