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/UloziskoSk.py | |
| parent | [ClickAndLoad] Code cosmetics (diff) | |
| download | pyload-388a2f6478d42e423f1f8442d8539983f3762f22.tar.xz | |
Improve unit detection in size pattern
Diffstat (limited to 'module/plugins/hoster/UloziskoSk.py')
| -rw-r--r-- | module/plugins/hoster/UloziskoSk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/UloziskoSk.py b/module/plugins/hoster/UloziskoSk.py index 7666678cd..bd4bedf92 100644 --- a/module/plugins/hoster/UloziskoSk.py +++ b/module/plugins/hoster/UloziskoSk.py @@ -18,7 +18,7 @@ class UloziskoSk(SimpleHoster): FILE_NAME_PATTERN = r'<div class="down1">(?P<N>[^<]+)</div>' - FILE_SIZE_PATTERN = ur'Veľkosť súboru: <strong>(?P<S>[\d.,]+) (?P<U>\w+)</strong><br />' + FILE_SIZE_PATTERN = ur'Veľkosť súboru: <strong>(?P<S>[\d.,]+) (?P<U>[\w^_]+)</strong><br />' OFFLINE_PATTERN = ur'<span class = "red">Zadaný súbor neexistuje z jedného z nasledujúcich dôvodov:</span>' LINK_PATTERN = r'<form name = "formular" action = "([^"]+)" method = "post">' |
