summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/Keep2shareCc.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/Keep2shareCc.py')
-rw-r--r--pyload/plugin/hoster/Keep2shareCc.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/Keep2shareCc.py b/pyload/plugin/hoster/Keep2shareCc.py
index a57965ca2..8f8e8cb67 100644
--- a/pyload/plugin/hoster/Keep2shareCc.py
+++ b/pyload/plugin/hoster/Keep2shareCc.py
@@ -9,19 +9,19 @@ from pyload.plugin.internal.SimpleHoster import _isDirectLink, SimpleHoster, cre
class Keep2shareCc(SimpleHoster):
- __name = "Keep2shareCc"
- __type = "hoster"
- __version = "0.17"
+ __name__ = "Keep2shareCc"
+ __type__ = "hoster"
+ __version__ = "0.17"
- __pattern = r'https?://(?:www\.)?(keep2share|k2s|keep2s)\.cc/file/(?P<ID>\w+)'
+ __pattern__ = r'https?://(?:www\.)?(keep2share|k2s|keep2s)\.cc/file/(?P<ID>\w+)'
- __description = """Keep2share.cc hoster plugin"""
- __license = "GPLv3"
- __authors = [("stickell", "l.stickell@yahoo.it"),
+ __description__ = """Keep2share.cc hoster plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("stickell", "l.stickell@yahoo.it"),
("Walter Purcaro", "vuolter@gmail.com")]
- URL_REPLACEMENTS = [(__pattern + ".*", "http://k2s.cc/file/\g<ID>")]
+ URL_REPLACEMENTS = [(__pattern__ + ".*", "http://k2s.cc/file/\g<ID>")]
NAME_PATTERN = r'File: <span>(?P<N>.+)</span>'
SIZE_PATTERN = r'Size: (?P<S>[^<]+)</div>'