diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-14 10:31:05 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-14 10:31:05 +0100 |
commit | c4719b75e43bed931f79ba763b8e8d81a2318710 (patch) | |
tree | cafce57662d3d7a6f12446cb314895aa59d597a9 /module/plugins/internal/SimpleHoster.py | |
parent | [NowDownloadSx][NowVideoSx] Update __pattern__ (diff) | |
download | pyload-c4719b75e43bed931f79ba763b8e8d81a2318710.tar.xz |
[BasePlugin][SimpleHoster] Better checkDownload warning
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index a1825a73e..114128c63 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.24" + __version__ = "1.25" __pattern__ = r'^unmatchable$' @@ -514,7 +514,7 @@ class SimpleHoster(Hoster): if not errmsg: for r, p in [('Html file' , re.compile(r'\A\s*<!DOCTYPE html') ), - ('Unknown error', re.compile(r'([Aa]n error occured while processing your request)'))]: + ('Request error', re.compile(r'([Aa]n error occured while processing your request)'))]: if r not in rules: rules[r] = p @@ -536,7 +536,7 @@ class SimpleHoster(Hoster): except Exception: pass - self.logWarning("Bad file", "Waiting 1 minute and retry") + self.logWarning("Check result: " + errmsg, "Waiting 1 minute and retry") self.retry(3, 60, errmsg) |