summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/EasybytezCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-28 16:50:29 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-28 16:50:29 +0200
commit390f7deca39ba14f698b3c56660eee2a5502b79a (patch)
tree9fa95eaa5b0ab439d11dba8977266294154cdd8b /module/plugins/hoster/EasybytezCom.py
parent[DeadHoster] Improve getInfo + two hosters mark dead (diff)
downloadpyload-390f7deca39ba14f698b3c56660eee2a5502b79a.tar.xz
Cleaned-up XFileSharingPro based plugins
Diffstat (limited to 'module/plugins/hoster/EasybytezCom.py')
-rw-r--r--module/plugins/hoster/EasybytezCom.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/module/plugins/hoster/EasybytezCom.py b/module/plugins/hoster/EasybytezCom.py
index f9dfe6a13..ed9230263 100644
--- a/module/plugins/hoster/EasybytezCom.py
+++ b/module/plugins/hoster/EasybytezCom.py
@@ -8,12 +8,13 @@ class EasybytezCom(XFileSharingPro):
__type__ = "hoster"
__version__ = "0.18"
- __pattern__ = r'http://(?:www\.)?easybytez.com/(\w+).*'
+ __pattern__ = r'http://(?:www\.)?easybytez\.com/\w{12}'
__description__ = """Easybytez.com hoster plugin"""
__author_name__ = ("zoidberg", "stickell")
__author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it")
+
HOSTER_NAME = "easybytez.com"
FILE_INFO_PATTERN = r'<span class="name">(?P<N>.+)</span><br>\s*<span class="size">(?P<S>[^<]+)</span>'
@@ -24,8 +25,4 @@ class EasybytezCom(XFileSharingPro):
ERROR_PATTERN = r'(?:class=["\']err["\'][^>]*>|<Center><b>)(.*?)</'
- def setup(self):
- self.resumeDownload = self.multiDL = self.premium
-
-
getInfo = create_getInfo(EasybytezCom)