diff options
author | 2014-10-14 13:38:49 +0200 | |
---|---|---|
committer | 2014-10-14 13:38:49 +0200 | |
commit | 388a2f6478d42e423f1f8442d8539983f3762f22 (patch) | |
tree | 2ab7720d32a37b7f9b467865565dbb8ddc7b71b1 /module/plugins/hoster/SendspaceCom.py | |
parent | [ClickAndLoad] Code cosmetics (diff) | |
download | pyload-388a2f6478d42e423f1f8442d8539983f3762f22.tar.xz |
Improve unit detection in size pattern
Diffstat (limited to 'module/plugins/hoster/SendspaceCom.py')
-rw-r--r-- | module/plugins/hoster/SendspaceCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/SendspaceCom.py b/module/plugins/hoster/SendspaceCom.py index 6b71c65bd..85fa196a3 100644 --- a/module/plugins/hoster/SendspaceCom.py +++ b/module/plugins/hoster/SendspaceCom.py @@ -18,7 +18,7 @@ class SendspaceCom(SimpleHoster): FILE_NAME_PATTERN = r'<h2 class="bgray">\s*<(?:b|strong)>(?P<N>[^<]+)</' - FILE_SIZE_PATTERN = r'<div class="file_description reverse margin_center">\s*<b>File Size:</b>\s*(?P<S>[\d.,]+)(?P<U>\w+)\s*</div>' + FILE_SIZE_PATTERN = r'<div class="file_description reverse margin_center">\s*<b>File Size:</b>\s*(?P<S>[\d.,]+)(?P<U>[\w^_]+)\s*</div>' OFFLINE_PATTERN = r'<div class="msg error" style="cursor: default">Sorry, the file you requested is not available.</div>' LINK_PATTERN = r'<a id="download_button" href="([^"]+)"' |