summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-04 21:09:07 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-04 21:09:07 +0200
commited2d6e90f08329e28d81f513b9309e8be5d551b1 (patch)
treea4e2d558f6d440a91cd5b24da08b08cfe727c725 /module/plugins/hoster
parentlinks.txt default to queue (diff)
downloadpyload-ed2d6e90f08329e28d81f513b9309e8be5d551b1.tar.xz
netload fix
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/NetloadIn.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py
index 61f0e3c12..0a8bbd9af 100644
--- a/module/plugins/hoster/NetloadIn.py
+++ b/module/plugins/hoster/NetloadIn.py
@@ -96,14 +96,14 @@ class NetloadIn(Hoster):
if match:
apiurl = "http://netload.in/share/fileinfos2.php"
src = self.load(apiurl, cookies=False, get={"file_id": match.group(1)}).strip()
- if not src and n < 3:
+ if not src and n <= 3:
sleep(0.2)
self.download_api_data(n+1)
return
- else:
+ elif not src:
self.fail(_("No API Data was send"))
- self.log.debug("Netload: APIDATA: "+src.strip())
+ self.log.debug("Netload: APIDATA: "+src)
self.api_data = {}
if src == "unknown_server_data":
self.api_data = False