From 61fec79749c3070c2312be6bc91c2a078fa208f6 Mon Sep 17 00:00:00 2001 From: mkaay Date: Tue, 1 Feb 2011 13:59:10 +0100 Subject: closes #201 --- module/plugins/hoster/NetloadIn.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'module/plugins') 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") -- cgit v1.2.3