summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/PutlockerCom.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-05-20 20:19:00 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-05-20 20:19:00 +0200
commitd4451312d80b0443cf7a48142c00dcc7bf3be65a (patch)
treeb152f6dc0e5a98b4e944648590e34f2f12282a45 /module/plugins/hoster/PutlockerCom.py
parentsmaller footer (diff)
parentCloudzerNet: reconnect support (diff)
downloadpyload-d4451312d80b0443cf7a48142c00dcc7bf3be65a.tar.xz
Merge branch 'stable'
Diffstat (limited to 'module/plugins/hoster/PutlockerCom.py')
-rw-r--r--module/plugins/hoster/PutlockerCom.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/PutlockerCom.py b/module/plugins/hoster/PutlockerCom.py
index 9eff0dc2b..b2016472d 100644
--- a/module/plugins/hoster/PutlockerCom.py
+++ b/module/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.24"
+ __version__ = "0.25"
__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.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)
link = self._getLink()