diff options
author | Walter Purcaro <vuolter@gmail.com> | 2013-11-17 10:07:58 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2013-11-17 10:07:58 +0100 |
commit | f7c27ed5a81851cb664af10f38057c1bd2bb80cb (patch) | |
tree | 083db149c6400e3daa3005a6cd6ceb1135c7b18c | |
parent | Merge pull request #384 from vuolter/s/hoster/FastixRu (diff) | |
download | pyload-f7c27ed5a81851cb664af10f38057c1bd2bb80cb.tar.xz |
Hoster: Keep2shareCC: Pattern updated
-rw-r--r-- | module/plugins/hoster/Keep2shareCC.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/Keep2shareCC.py b/module/plugins/hoster/Keep2shareCC.py index 2eada84ec..d2a13e35b 100644 --- a/module/plugins/hoster/Keep2shareCC.py +++ b/module/plugins/hoster/Keep2shareCC.py @@ -27,8 +27,8 @@ from module.plugins.internal.CaptchaService import ReCaptcha class Keep2shareCC(SimpleHoster): __name__ = "Keep2shareCC" __type__ = "hoster" - __pattern__ = r"http://(?:www\.)?(?:keep2share|k2s)\.cc/file/(?P<ID>.+)" - __version__ = "0.04" + __pattern__ = r"https?://(?:www\.)?(keep2share|k2s|keep2s)\.cc/file/(?P<ID>[a-zA-Z0-9]{13})" + __version__ = "0.05" __description__ = """Keep2share.cc hoster plugin""" __author_name__ = ("stickell") __author_mail__ = ("l.stickell@yahoo.it") @@ -51,7 +51,7 @@ class Keep2shareCC(SimpleHoster): m = re.search(self.WAIT_PATTERN, self.html) if m: wait_string = m.group(1) - wait_time = int(wait_string[0:2]) * 3600 + int(wait_string[3:5]) * 60 + int(wait_string[6:8]) + wait_time = int(wait_string[0:2]) * 60 * 60 + int(wait_string[3:5]) * 60 + int(wait_string[6:8]) self.setWait(wait_time, True) self.wait() self.process(self.pyfile) |