summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/Keep2shareCc.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 03:40:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 03:40:45 +0100
commitfcead1870013b6a970eca7878a66dbe783c80ea3 (patch)
tree9837d3b2cacba2f5d1a4c620b1cd02f26571b454 /pyload/plugin/hoster/Keep2shareCc.py
parentInit cosmetics (diff)
downloadpyload-fcead1870013b6a970eca7878a66dbe783c80ea3.tar.xz
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>'