diff options
author | mkaay <mkaay@mkaay.de> | 2011-02-01 13:59:10 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2011-02-01 13:59:10 +0100 |
commit | 61fec79749c3070c2312be6bc91c2a078fa208f6 (patch) | |
tree | 8304c8f00fb26e44172e67829c1787922fca6be9 /module/plugins/hoster | |
parent | fixed #206 (HoerbuchIn) (diff) | |
download | pyload-61fec79749c3070c2312be6bc91c2a078fa208f6.tar.xz |
closes #201
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/NetloadIn.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py index a5b2558d2..c952f2c19 100644 --- a/module/plugins/hoster/NetloadIn.py +++ b/module/plugins/hoster/NetloadIn.py @@ -136,7 +136,11 @@ class NetloadIn(Hoster): self.log.debug("Netload: Entering download_html") page = self.load(self.url) t = time() + 30 - + + if "/share/templates/download_hddcrash.tpl" in page: + self.fail(_("File temporarily not available")) + self.log.debug("Netload HDD Crash") + if not self.api_data: self.log.debug("API Data may be useless, get details from html page") |