summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/PutlockerCom.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-10-23 13:03:37 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-10-23 13:03:37 +0200
commit29a62c4b9886d31bfa4b5e70db44eb59330bbe28 (patch)
tree47bb81dfb3eba95944dbf1efeb1096477cad8c4e /module/plugins/hoster/PutlockerCom.py
parentNCryptIn: better folder name detect (diff)
parentHosters: replaced line continuation with brackets (diff)
downloadpyload-29a62c4b9886d31bfa4b5e70db44eb59330bbe28.tar.xz
Merge pull request #331 from vuolter/s/hoster_lc
Hosters: replace line continuation with brackets
Diffstat (limited to 'module/plugins/hoster/PutlockerCom.py')
-rw-r--r--module/plugins/hoster/PutlockerCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/PutlockerCom.py b/module/plugins/hoster/PutlockerCom.py
index 0b049b28d..80d836655 100644
--- a/module/plugins/hoster/PutlockerCom.py
+++ b/module/plugins/hoster/PutlockerCom.py
@@ -55,8 +55,8 @@ class PutlockerCom(SimpleHoster):
post_data = {"hash": hash_data.group(1), "confirm": "Continue+as+Free+User"}
self.html = self.load(self.pyfile.url, post=post_data)
- if ">You have exceeded the daily stream limit for your country\\. You can wait until tomorrow" in self.html or \
- "(>This content server has been temporarily disabled for upgrades|Try again soon\\. You can still download it below\\.<)" in self.html:
+ if (">You have exceeded the daily stream limit for your country\\. You can wait until tomorrow" in self.html or
+ "(>This content server has been temporarily disabled for upgrades|Try again soon\\. You can still download it below\\.<)" in self.html):
self.retry(wait_time=7200, reason="Download limit exceeded or server disabled") # 2 hours wait
patterns = (r'(/get_file\.php\?id=[A-Z0-9]+&key=[A-Za-z0-9=]+&original=1)',