diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-29 22:43:17 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-29 22:43:17 +0200 |
commit | 3353ea228835ffa96cc73d5b5e23f6d92ba84203 (patch) | |
tree | c593079745e1a65c39bfa59b3a3b6a07e1b05486 /module/plugins/hoster/Keep2ShareCc.py | |
parent | [OpenloadIo] Cleanup (diff) | |
download | pyload-3353ea228835ffa96cc73d5b5e23f6d92ba84203.tar.xz |
Update hoster plugins
Diffstat (limited to 'module/plugins/hoster/Keep2ShareCc.py')
-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 b8275e84b..1b9f69a02 100644 --- a/module/plugins/hoster/Keep2ShareCc.py +++ b/module/plugins/hoster/Keep2ShareCc.py @@ -10,7 +10,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class Keep2ShareCc(SimpleHoster): __name__ = "Keep2ShareCc" __type__ = "hoster" - __version__ = "0.25" + __version__ = "0.26" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?(keep2share|k2s|keep2s)\.cc/file/(?P<ID>\w+)' @@ -45,7 +45,7 @@ class Keep2ShareCc(SimpleHoster): if m: self.info['error'] = m.group(1) self.wantReconnect = True - self.retry(wait_time=30 * 60, msg=m.group(0)) + self.retry(delay=30 * 60, msg=m.group(0)) m = re.search(self.ERROR_PATTERN, self.html) if m: @@ -61,7 +61,7 @@ class Keep2ShareCc(SimpleHoster): wait_time = sum(a * b for a, b in zip(ftr, map(int, m.group(1).split(':')))) self.wantReconnect = True - self.retry(wait_time=wait_time, msg="Please wait to download this file") + self.retry(delay=wait_time, msg="Please wait to download this file") self.info.pop('error', None) |