summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/SharebeesCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2013-12-13 11:20:19 +0100
committerGravatar Stefano <l.stickell@yahoo.it> 2013-12-13 11:20:39 +0100
commit7f239b41cb29ee95c878f78a6e9cacd55f301a8d (patch)
tree6fdb219256a3fa2c6de6f858197d91c829f73ff2 /module/plugins/hoster/SharebeesCom.py
parentMerge pull request #434 from kmarty/stable (diff)
downloadpyload-7f239b41cb29ee95c878f78a6e9cacd55f301a8d.tar.xz
Some hosters marked as dead
Merged #375
Diffstat (limited to 'module/plugins/hoster/SharebeesCom.py')
-rw-r--r--module/plugins/hoster/SharebeesCom.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/module/plugins/hoster/SharebeesCom.py b/module/plugins/hoster/SharebeesCom.py
index cc1173fea..5eaaf24f5 100644
--- a/module/plugins/hoster/SharebeesCom.py
+++ b/module/plugins/hoster/SharebeesCom.py
@@ -1,20 +1,16 @@
# -*- coding: utf-8 -*-
-from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+from module.plugins.internal.DeadHoster import DeadHoster, create_getInfo
-class SharebeesCom(XFileSharingPro):
+
+class SharebeesCom(DeadHoster):
__name__ = "SharebeesCom"
__type__ = "hoster"
__pattern__ = r"http://(?:\w*\.)*?sharebees.com/\w{12}"
- __version__ = "0.01"
+ __version__ = "0.02"
__description__ = """ShareBees hoster plugin"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
- FILE_NAME_PATTERN = r'<p class="file-name" ><.*?>\s*(?P<N>.+)'
- FILE_SIZE_PATTERN = r'<small>\((?P<S>\d+) bytes\)</small>'
- FORM_PATTERN = 'F1'
- HOSTER_NAME = "sharebees.com"
-
getInfo = create_getInfo(SharebeesCom)