summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/NetloadIn.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/NetloadIn.py')
-rw-r--r--module/plugins/hoster/NetloadIn.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py
index c952f2c19..b99694774 100644
--- a/module/plugins/hoster/NetloadIn.py
+++ b/module/plugins/hoster/NetloadIn.py
@@ -138,8 +138,8 @@ class NetloadIn(Hoster):
t = time() + 30
if "/share/templates/download_hddcrash.tpl" in page:
+ self.log.error("Netload HDD Crash")
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")
@@ -157,6 +157,10 @@ class NetloadIn(Hoster):
page = self.load(self.url)
t = time() + 30
+ if "/share/templates/download_hddcrash.tpl" in page:
+ self.log.error("Netload HDD Crash")
+ self.fail(_("File temporarily not available"))
+
self.log.debug("Netload: try number %d " % i)
if self.getConf('dumpgen'):
print page