summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-04-16 21:14:55 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-04-16 21:14:55 +0200
commit14d9964ed8b4c501d79546d99b50d053381f6630 (patch)
tree73e37b58859a3355a8af8379302b92cd8afa53cd /module
parentMerge pull request #87 from Nold360/stable (diff)
downloadpyload-14d9964ed8b4c501d79546d99b50d053381f6630.tar.xz
EasybytezCom: fixed direct link error.
http://forum.pyload.org/viewtopic.php?f=12&t=2027
Diffstat (limited to 'module')
-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 0deaa782e..5c21eff5d 100644
--- a/module/plugins/hoster/EasybytezCom.py
+++ b/module/plugins/hoster/EasybytezCom.py
@@ -25,7 +25,7 @@ class EasybytezCom(XFileSharingPro):
__name__ = "EasybytezCom"
__type__ = "hoster"
__pattern__ = r"http://(?:\w*\.)?easybytez.com/(\w+).*"
- __version__ = "0.12"
+ __version__ = "0.13"
__description__ = """easybytez.com"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
@@ -35,7 +35,7 @@ class EasybytezCom(XFileSharingPro):
FILE_INFO_PATTERN = r'<tr><td align=right><b>Filename:</b></td><td nowrap>(?P<N>[^<]+)</td></tr>\s*.*?<small>\((?P<S>[^<]+)\)</small>'
FILE_OFFLINE_PATTERN = r'<h1>File not available</h1>'
- DIRECT_LINK_PATTERN = r'(http://(\w+\.easybytez\.com|\d+\.\d+\.\d+\.\d+)/files/\d+/\w+/[^"<]+)'
+ DIRECT_LINK_PATTERN = r'(http://(\w+\.(easybytez|zingload)\.com|\d+\.\d+\.\d+\.\d+)/files/\d+/\w+/[^"<]+)'
OVR_DOWNLOAD_LINK_PATTERN = r'<h2>Download Link</h2>\s*<textarea[^>]*>([^<]+)'
OVR_KILL_LINK_PATTERN = r'<h2>Delete Link</h2>\s*<textarea[^>]*>([^<]+)'
ERROR_PATTERN = r'(?:class=["\']err["\'][^>]*>|<Center><b>)(.*?)</'