diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-09 00:36:54 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-09 00:36:54 +0100 |
commit | e7d5b4df7c5b0bc859175d4d1902207f91964f89 (patch) | |
tree | 38eed096fff72e9efd9e55848587811db683bc6b | |
parent | "New Year" Update: hoster plugins (diff) | |
download | pyload-e7d5b4df7c5b0bc859175d4d1902207f91964f89.tar.xz |
[SimpleHoster] Better checkDownload rules
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 991dc6240..5450f2bc9 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -445,7 +445,7 @@ class SimpleHoster(Hoster): else: rules = {'empty file': re.compile(r'\A\Z'), 'html file' : re.compile(r'\A\s*<!DOCTYPE html'), - 'html error': re.compile(r'\A\s*(<.+>)?\d{3}[^\d]*')} + 'html error': re.compile(r'\A\s*(<.+>)?\d{3}(\Z|\s+)')} if hasattr(self, 'ERROR_PATTERN'): rules['error'] = re.compile(self.ERROR_PATTERN) |