diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-04-11 11:46:14 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-21 17:15:24 +0200 |
commit | 0d1797339a94df75c1df5ad60680e32be5e08ac8 (patch) | |
tree | 20092b9ef04e0ca499cd29cff966c44a5314bf1d | |
parent | Hook: RestartFailed: Old version rewritten (diff) | |
download | pyload-0d1797339a94df75c1df5ad60680e32be5e08ac8.tar.xz |
XFileSharingPro: FILE_SIZE_PATTERN updated
Merges vuolter/pyload@791ea1f
(cherry picked from commit 7d33159339bc3fa8ea45acd112510fc617f211c5)
-rw-r--r-- | pyload/plugins/hoster/XFileSharingPro.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/XFileSharingPro.py b/pyload/plugins/hoster/XFileSharingPro.py index ab3dde18d..321c06bb7 100644 --- a/pyload/plugins/hoster/XFileSharingPro.py +++ b/pyload/plugins/hoster/XFileSharingPro.py @@ -36,13 +36,13 @@ class XFileSharingPro(SimpleHoster): __name__ = "XFileSharingPro" __type__ = "hoster" __pattern__ = r"^unmatchable$" - __version__ = "0.28" + __version__ = "0.29" __description__ = """XFileSharingPro common hoster base""" __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_SIZE_PATTERN = r'You have requested .*\((?P<S>[\d\.\,]+) ?(?P<U>\w+)?\)</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_OFFLINE_PATTERN = r'>\w+ (Not Found|file (was|has been) removed)' |