summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/EasybytezCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/EasybytezCom.py')
-rw-r--r--pyload/plugins/hoster/EasybytezCom.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/pyload/plugins/hoster/EasybytezCom.py b/pyload/plugins/hoster/EasybytezCom.py
new file mode 100644
index 000000000..d471bc80d
--- /dev/null
+++ b/pyload/plugins/hoster/EasybytezCom.py
@@ -0,0 +1,28 @@
+# -*- coding: utf-8 -*-
+
+from pyload.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo
+
+
+class EasybytezCom(XFSPHoster):
+ __name__ = "EasybytezCom"
+ __type__ = "hoster"
+ __version__ = "0.18"
+
+ __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>'
+ OFFLINE_PATTERN = r'>File not available'
+
+ LINK_PATTERN = r'(http://(\w+\.(easyload|easybytez|zingload)\.(com|to)|\d+\.\d+\.\d+\.\d+)/files/\d+/\w+/[^"<]+)'
+ OVR_LINK_PATTERN = r'<h2>Download Link</h2>\s*<textarea[^>]*>([^<]+)'
+ ERROR_PATTERN = r'(?:class=["\']err["\'][^>]*>|<Center><b>)(.*?)</'
+
+
+getInfo = create_getInfo(EasybytezCom)