diff options
Diffstat (limited to 'module/plugins/hoster/Keep2shareCC.py')
-rw-r--r-- | module/plugins/hoster/Keep2shareCC.py | 3 |
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") |