summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/EasybytezCom.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-06-07 16:42:27 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-06-07 16:42:27 +0200
commit2fc5fbb43eb6a64be697c884c596ba069f59dd10 (patch)
tree640ebddcc7a4cdc2be1294e6f4f2a67524edf962 /module/plugins/hoster/EasybytezCom.py
parentMerge pull request #153 from gonzalosr/patch-1 (diff)
downloadpyload-2fc5fbb43eb6a64be697c884c596ba069f59dd10.tar.xz
EasybytezCom: updated regex
Diffstat (limited to 'module/plugins/hoster/EasybytezCom.py')
-rw-r--r--module/plugins/hoster/EasybytezCom.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/module/plugins/hoster/EasybytezCom.py b/module/plugins/hoster/EasybytezCom.py
index 96e3d93d2..a13491ad2 100644
--- a/module/plugins/hoster/EasybytezCom.py
+++ b/module/plugins/hoster/EasybytezCom.py
@@ -23,14 +23,12 @@ class EasybytezCom(XFileSharingPro):
__name__ = "EasybytezCom"
__type__ = "hoster"
__pattern__ = r"http://(?:\w*\.)?easybytez.com/(\w+).*"
- __version__ = "0.14"
+ __version__ = "0.15"
__description__ = """easybytez.com"""
- __author_name__ = ("zoidberg")
- __author_mail__ = ("zoidberg@mujmail.cz")
+ __author_name__ = ("zoidberg", "stickell")
+ __author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it")
- FILE_NAME_PATTERN = r'<input type="hidden" name="fname" value="(?P<N>[^"]+)"'
- FILE_SIZE_PATTERN = r'You have requested <font color="red">[^<]+</font> \((?P<S>[^<]+)\)</font>'
- FILE_INFO_PATTERN = r'<tr><td align=right><b>Filename:</b></td><td nowrap>(?P<N>[^<]+)</td></tr>\s*.*?<small>\((?P<S>[^<]+)\)</small>'
+ FILE_INFO_PATTERN = r'<h2>Download File (?P<N>.+)</h2>\s*<font [^>]+>You have requested <font color="red">[^<]+</font> \((?P<S>.+)\)</font>'
FILE_OFFLINE_PATTERN = r'<h1>File not available</h1>'
DIRECT_LINK_PATTERN = r'(http://(\w+\.(easybytez|zingload)\.com|\d+\.\d+\.\d+\.\d+)/files/\d+/\w+/[^"<]+)'