From 486adc1874e463b1563ad2394b216faff388b10d Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 13 Apr 2015 08:21:50 +0200 Subject: Prepare plugins to merging from stable --- pyload/plugin/hoster/Keep2ShareCc.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'pyload/plugin/hoster/Keep2ShareCc.py') diff --git a/pyload/plugin/hoster/Keep2ShareCc.py b/pyload/plugin/hoster/Keep2ShareCc.py index c621b82fe..67af087b7 100644 --- a/pyload/plugin/hoster/Keep2ShareCc.py +++ b/pyload/plugin/hoster/Keep2ShareCc.py @@ -9,20 +9,20 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster class Keep2ShareCc(SimpleHoster): - __name = "Keep2ShareCc" - __type = "hoster" - __version = "0.21" + __name__ = "Keep2ShareCc" + __type__ = "hoster" + __version__ = "0.21" - __pattern = r'https?://(?:www\.)?(keep2share|k2s|keep2s)\.cc/file/(?P\w+)' - __config = [("use_premium", "bool", "Use premium account if available", True)] + __pattern__ = r'https?://(?:www\.)?(keep2share|k2s|keep2s)\.cc/file/(?P\w+)' + __config__ = [("use_premium", "bool", "Use premium account if available", True)] - __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")] + URL_REPLACEMENTS = [(__pattern__ + ".*", "http://k2s.cc/file/\g")] NAME_PATTERN = r'File: (?P.+)' SIZE_PATTERN = r'Size: (?P[^<]+)' -- cgit v1.2.3