summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2013-11-17 10:07:58 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2013-11-17 10:07:58 +0100
commitf7c27ed5a81851cb664af10f38057c1bd2bb80cb (patch)
tree083db149c6400e3daa3005a6cd6ceb1135c7b18c /module
parentMerge pull request #384 from vuolter/s/hoster/FastixRu (diff)
downloadpyload-f7c27ed5a81851cb664af10f38057c1bd2bb80cb.tar.xz
Hoster: Keep2shareCC: Pattern updated
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/Keep2shareCC.py6
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)