From 63de3c669009f37e8a3d214d11999ff7ed2835b8 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 7 Feb 2014 18:13:23 +0100 Subject: quvi/putlocker: Extend to also handle sockshare.com Seems they have exactly the same script so we can use the same code. --- .local/share/libquvi-scripts/media/putlocker.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.local/share/libquvi-scripts/media/putlocker.lua b/.local/share/libquvi-scripts/media/putlocker.lua index f3abebc..e0b81b9 100644 --- a/.local/share/libquvi-scripts/media/putlocker.lua +++ b/.local/share/libquvi-scripts/media/putlocker.lua @@ -5,7 +5,7 @@ local Putlocker = {} -- Identify the script. function ident(qargs) return { - domains = table.concat({'putlocker.com'}, ','), + domains = table.concat({'putlocker.com', 'sockshare.com'}, ','), can_parse_url = Putlocker.can_parse_url(qargs) } end @@ -31,10 +31,13 @@ function Putlocker.iter_streams(c, qargs) local S = require 'quvi/stream' url = c:match('