diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2014-02-10 20:01:12 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2014-02-10 20:01:12 +0100 |
commit | 723939b81c5200dd219798c2bbd4b2d762956457 (patch) | |
tree | 56e6a96dcd6bac57f6a17b58fc265c80cfc484ce /.local | |
parent | eb0e116e0a149b8b7b4ac882306fe0b29eea1e6f (diff) | |
download | dotfiles-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.lua | 2 |
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 |