diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-14 13:38:49 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-14 13:38:49 +0200 |
commit | 388a2f6478d42e423f1f8442d8539983f3762f22 (patch) | |
tree | 2ab7720d32a37b7f9b467865565dbb8ddc7b71b1 /module/plugins/internal/XFSPHoster.py | |
parent | [ClickAndLoad] Code cosmetics (diff) | |
download | pyload-388a2f6478d42e423f1f8442d8539983f3762f22.tar.xz |
Improve unit detection in size pattern
Diffstat (limited to 'module/plugins/internal/XFSPHoster.py')
-rw-r--r-- | module/plugins/internal/XFSPHoster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/XFSPHoster.py b/module/plugins/internal/XFSPHoster.py index e7348d966..f1a250f85 100644 --- a/module/plugins/internal/XFSPHoster.py +++ b/module/plugins/internal/XFSPHoster.py @@ -35,7 +35,7 @@ class XFSPHoster(SimpleHoster): FILE_INFO_PATTERN = r'<tr><td align=right><b>Filename:</b></td><td nowrap>(?P<N>[^<]+)</td></tr>\s*.*?<small>\((?P<S>[^<]+)\)</small>' FILE_NAME_PATTERN = r'<input type="hidden" name="fname" value="(?P<N>[^"]+)"' - FILE_SIZE_PATTERN = r'You have requested .*\((?P<S>[\d\.\,]+) ?(?P<U>\w+)?\)</font>' + FILE_SIZE_PATTERN = r'You have requested .*\((?P<S>[\d\.\,]+) ?(?P<U>[\w^_]+)?\)</font>' OFFLINE_PATTERN = r'>\s*\w+ (Not Found|file (was|has been) removed)' TEMP_OFFLINE_PATTERN = r'>\s*\w+ server (is in )?(maintenance|maintainance)' |