summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Keep2shareCC.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 01:11:29 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 01:17:03 +0200
commit4da90891eb2544ac15a7d512aba8cb357f68ee5f (patch)
tree84eec3f9f27a880df052da43fb3a6a8112b39c24 /module/plugins/hoster/Keep2shareCC.py
parentFix and improve plugins logging (diff)
downloadpyload-4da90891eb2544ac15a7d512aba8cb357f68ee5f.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/Keep2shareCC.py')
-rw-r--r--module/plugins/hoster/Keep2shareCC.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/hoster/Keep2shareCC.py b/module/plugins/hoster/Keep2shareCC.py
index a56ac36da..d6258bb06 100644
--- a/module/plugins/hoster/Keep2shareCC.py
+++ b/module/plugins/hoster/Keep2shareCC.py
@@ -38,7 +38,7 @@ class Keep2shareCC(SimpleHoster):
self.fid = re.search(r'<input type="hidden" name="slow_id" value="([^"]+)">', self.html).group(1)
self.html = self.load(self.pyfile.url, post={'yt0': '', 'slow_id': self.fid})
- m = re.search(r"function download\(\){.*window\.location\.href = '([^']+)';", self.html, re.DOTALL)
+ m = re.search(r"function download\(\){.*window\.location\.href = '([^']+)';", self.html, re.S)
if m: # Direct mode
self.startDownload(m.group(1))
else:
@@ -94,7 +94,6 @@ class Keep2shareCC(SimpleHoster):
self.correctCaptcha()
break
else:
- self.logInfo("Wrong captcha")
self.invalidCaptcha()
else:
self.fail("All captcha attempts failed")