diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-28 01:05:59 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-28 01:05:59 +0100 |
commit | 0c61cbb03493b15970a5ccb9a5e20b02b3884a4e (patch) | |
tree | a9ec5c5c31c3490fb27ea5d8f8f1556210d8cbd5 /module/plugins/internal | |
parent | [MultiHoster] Filename recognition (diff) | |
download | pyload-0c61cbb03493b15970a5ccb9a5e20b02b3884a4e.tar.xz |
[SimpleHoster] Improve
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/SimpleCrypter.py | 4 | ||||
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 7 |
2 files changed, 2 insertions, 9 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py index 51ba07eb7..566252245 100644 --- a/module/plugins/internal/SimpleCrypter.py +++ b/module/plugins/internal/SimpleCrypter.py @@ -103,10 +103,6 @@ class SimpleCrypter(Crypter, SimpleHoster): self.prepare() self.preload() - - if self.html is None: - self.fail(_("No html retrieved")) - self.checkInfo() self.links = self.getLinks() diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index d9732d063..5c6f8c720 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -181,7 +181,7 @@ def secondsToMidnight(gmt=0): class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "0.82" + __version__ = "0.83" __pattern__ = r'^unmatchable$' @@ -388,7 +388,7 @@ class SimpleHoster(Hoster): def process(self, pyfile): self.prepare() - self.checkInfo() + self.checkNameSize() if self.directDL: self.logDebug("Looking for direct download link...") @@ -406,9 +406,6 @@ class SimpleHoster(Hoster): self.preload() self.checkInfo() - if self.html is None: - self.fail(_("No html retrieved")) - if self.premium and (not self.CHECK_TRAFFIC or self.checkTrafficLeft()): self.logDebug("Handled as premium download") self.handlePremium() |