diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-13 22:27:56 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-13 22:27:56 +0100 |
commit | 948864513fb4fa63ed4b01b2c86ddc69fffac93b (patch) | |
tree | a14ed89d4444d8b5b53338c96b2f18581347b813 /module/plugins/hoster/Keep2shareCc.py | |
parent | [SimpleHoster] Fix https://github.com/pyload/pyload/issues/1038 (diff) | |
download | pyload-948864513fb4fa63ed4b01b2c86ddc69fffac93b.tar.xz |
[Keep2shareCc] Fix bad import
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 16bda27e0..05b3c639d 100644 --- a/module/plugins/hoster/Keep2shareCc.py +++ b/module/plugins/hoster/Keep2shareCc.py @@ -5,13 +5,13 @@ import re from urlparse import urljoin, urlparse from module.plugins.internal.CaptchaService import ReCaptcha -from module.plugins.internal.SimpleHoster import _isDirectLink, SimpleHoster, create_getInfo +from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class Keep2ShareCc(SimpleHoster): __name__ = "Keep2ShareCc" __type__ = "hoster" - __version__ = "0.18" + __version__ = "0.19" __pattern__ = r'https?://(?:www\.)?(keep2share|k2s|keep2s)\.cc/file/(?P<ID>\w+)' @@ -121,7 +121,7 @@ class Keep2ShareCc(SimpleHoster): if not link or not isinstance(link, basestring): return - link = _isDirectLink(self, link, self.premium) + link = self.directLink(self, link, self.resumeDownload) if link: self.download(urljoin("http://k2s.cc/", link), disposition=True) |