summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-30 14:42:24 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-30 17:30:20 +0200
commit139b39f622791a3649925a7d97a1ccc04b0a887d (patch)
tree57cd3cd04fc069d03a80d4e344e1ab1a425cccec
parentReplace rules to fix: http://beta.pyload.org/index.php/33-shareonline-biz (diff)
downloadpyload-139b39f622791a3649925a7d97a1ccc04b0a887d.tar.xz
Putlocker: allow multiDL and chunked downloads even in free downloads
(cherry picked from commit 846d7e18a37c190a3dd521626da3e6a903c0daf6)
-rw-r--r--pyload/plugins/hoster/PutlockerCom.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/PutlockerCom.py b/pyload/plugins/hoster/PutlockerCom.py
index b2016472d..752c9855f 100644
--- a/pyload/plugins/hoster/PutlockerCom.py
+++ b/pyload/plugins/hoster/PutlockerCom.py
@@ -28,7 +28,7 @@ class PutlockerCom(SimpleHoster):
__name__ = "PutlockerCom"
__type__ = "hoster"
__pattern__ = r'http://(www\.)?putlocker\.com/(file|embed)/[A-Z0-9]+'
- __version__ = "0.25"
+ __version__ = "0.26"
__description__ = """Putlocker.Com"""
__author_name__ = ("jeix", "stickell")
__author_mail__ = ("l.stickell@yahoo.it")
@@ -37,6 +37,8 @@ class PutlockerCom(SimpleHoster):
FILE_INFO_PATTERN = r'site-content">\s*<h1>(?P<N>.+)<strong>\( (?P<S>[^)]+) \)</strong></h1>'
def handleFree(self):
+ self.multiDL = True
+ self.chunkLimit = -1
self.pyfile.url = re.sub(r'http://putlocker\.com', r'http://www.putlocker.com', self.pyfile.url)
self.html = self.load(self.pyfile.url, decode=True)