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/hoster/UpstoreNet.py | |
parent | [ClickAndLoad] Code cosmetics (diff) | |
download | pyload-388a2f6478d42e423f1f8442d8539983f3762f22.tar.xz |
Improve unit detection in size pattern
Diffstat (limited to 'module/plugins/hoster/UpstoreNet.py')
-rw-r--r-- | module/plugins/hoster/UpstoreNet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/UpstoreNet.py b/module/plugins/hoster/UpstoreNet.py index ef9cd9e5d..fd13f6d41 100644 --- a/module/plugins/hoster/UpstoreNet.py +++ b/module/plugins/hoster/UpstoreNet.py @@ -18,7 +18,7 @@ class UpstoreNet(SimpleHoster): __authors__ = [("igel", "igelkun@myopera.com")] - FILE_INFO_PATTERN = r'<div class="comment">.*?</div>\s*\n<h2 style="margin:0">(?P<N>.*?)</h2>\s*\n<div class="comment">\s*\n\s*(?P<S>[\d.,]+) (?P<U>\w+)' + FILE_INFO_PATTERN = r'<div class="comment">.*?</div>\s*\n<h2 style="margin:0">(?P<N>.*?)</h2>\s*\n<div class="comment">\s*\n\s*(?P<S>[\d.,]+) (?P<U>[\w^_]+)' OFFLINE_PATTERN = r'<span class="error">File not found</span>' WAIT_PATTERN = r'var sec = (\d+)' |