summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-10 15:32:24 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-10 15:32:24 +0100
commit58e98ab99bd7672492109786c4db7076d231631b (patch)
tree35fd297e89fe7d675822d9880adbf4c8b9465d4d /module/plugins/internal/SimpleHoster.py
parent[SimpleHoster] Fix https://github.com/pyload/pyload/issues/1242 (diff)
downloadpyload-58e98ab99bd7672492109786c4db7076d231631b.tar.xz
[FileSharkPl] Fix https://github.com/pyload/pyload/issues/1040 (2)
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r--module/plugins/internal/SimpleHoster.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index b2c40a828..3a38c4eea 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -246,7 +246,7 @@ def secondsToMidnight(gmt=0):
class SimpleHoster(Hoster):
__name__ = "SimpleHoster"
__type__ = "hoster"
- __version__ = "1.19"
+ __version__ = "1.20"
__pattern__ = r'^unmatchable$'
@@ -516,6 +516,9 @@ class SimpleHoster(Hoster):
if hasattr(self, 'ERROR_PATTERN'):
rules['error'] = re.compile(self.ERROR_PATTERN)
+ if hasattr(self, 'WAIT_PATTERN'):
+ rules['wait error'] = re.compile(self.WAIT_PATTERN)
+
check = self.checkDownload(rules)
if check: #@TODO: Move to hoster in 0.4.10
errmsg = check.strip().capitalize()