summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/CyberlockerCh.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2014-03-04 21:33:30 +0100
committerGravatar Stefano <l.stickell@yahoo.it> 2014-03-04 21:33:30 +0100
commitbce39ea47fe9ce6c2b964adaebf0be237234978b (patch)
treecd245f3af0dc497e7239db3502b826c975fa483d /module/plugins/hoster/CyberlockerCh.py
parentMerge pull request #511 from vuolter/s/hoster/RyushareCom (diff)
parentHoster: CloudzerNet: Mark dead (diff)
downloadpyload-bce39ea47fe9ce6c2b964adaebf0be237234978b.tar.xz
Merge pull request #535 from vuolter/s/mark_dead
Mark dead CyberlockerCh and CloudzerNet
Diffstat (limited to 'module/plugins/hoster/CyberlockerCh.py')
-rw-r--r--module/plugins/hoster/CyberlockerCh.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/module/plugins/hoster/CyberlockerCh.py b/module/plugins/hoster/CyberlockerCh.py
index 19a4473b3..a08bf8518 100644
--- a/module/plugins/hoster/CyberlockerCh.py
+++ b/module/plugins/hoster/CyberlockerCh.py
@@ -1,17 +1,16 @@
# -*- coding: utf-8 -*-
-from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+from module.plugins.internal.DeadHoster import DeadHoster, create_getInfo
-class CyberlockerCh(XFileSharingPro):
+
+class CyberlockerCh(DeadHoster):
__name__ = "CyberlockerCh"
__type__ = "hoster"
- __pattern__ = r"http://(www\.)?cyberlocker\.ch/\w{12}"
- __version__ = "0.01"
+ __pattern__ = r'http://(?:www\.)?cyberlocker\.ch/\w+'
+ __version__ = "0.02"
__description__ = """Cyberlocker.ch hoster plugin"""
- __author_name__ = ("stickell")
- __author_mail__ = ("l.stickell@yahoo.it")
-
- HOSTER_NAME = "cyberlocker.ch"
+ __author_name__ = "stickell"
+ __author_mail__ = "l.stickell@yahoo.it"
getInfo = create_getInfo(CyberlockerCh)