summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/EasybytezCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:21:37 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:21:37 +0200
commit02e1638896c073f5d1c904a3e611d09298df79fa (patch)
treebaef9d74b16b4a3792304b6d89447b1e4a548867 /module/plugins/hoster/EasybytezCom.py
parentUse re.match for __pattern__ matches instead re.search (diff)
downloadpyload-02e1638896c073f5d1c904a3e611d09298df79fa.tar.xz
Fix HOSTER_NAME in XFileSharingPro plugins
Merges vuolter/pyload@f20b998
Diffstat (limited to 'module/plugins/hoster/EasybytezCom.py')
-rw-r--r--module/plugins/hoster/EasybytezCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/EasybytezCom.py b/module/plugins/hoster/EasybytezCom.py
index 8cc0b6e9f..685831482 100644
--- a/module/plugins/hoster/EasybytezCom.py
+++ b/module/plugins/hoster/EasybytezCom.py
@@ -28,6 +28,8 @@ class EasybytezCom(XFileSharingPro):
__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>'
FILE_OFFLINE_PATTERN = r'<h1>File not available</h1>'
@@ -36,8 +38,6 @@ class EasybytezCom(XFileSharingPro):
OVR_KILL_LINK_PATTERN = r'<h2>Delete Link</h2>\s*<textarea[^>]*>([^<]+)'
ERROR_PATTERN = r'(?:class=["\']err["\'][^>]*>|<Center><b>)(.*?)</'
- HOSTER_NAME = "easybytez.com"
-
def setup(self):
self.resumeDownload = self.multiDL = self.premium