diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-04 21:09:07 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-04 21:09:07 +0200 |
commit | ed2d6e90f08329e28d81f513b9309e8be5d551b1 (patch) | |
tree | a4e2d558f6d440a91cd5b24da08b08cfe727c725 /module/plugins/hoster | |
parent | links.txt default to queue (diff) | |
download | pyload-ed2d6e90f08329e28d81f513b9309e8be5d551b1.tar.xz |
netload fix
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/NetloadIn.py | 6 |
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 |