summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Christian Plesche <chris-19@users.noreply.github.com> 2014-11-23 23:54:55 +0100
committerGravatar Christian Plesche <chris-19@users.noreply.github.com> 2014-11-23 23:54:55 +0100
commitbe53f2b117c091770ce58f5d2ab479fc1bb57c47 (patch)
tree25c426206dfce1b52406f04f81b7ba793edbfcc5 /module
parentUpdate NetloadIn.py (diff)
downloadpyload-be53f2b117c091770ce58f5d2ab479fc1bb57c47.tar.xz
Update NetloadIn.py
restart after waiting period
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/NetloadIn.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py
index a912b438a..204862144 100644
--- a/module/plugins/hoster/NetloadIn.py
+++ b/module/plugins/hoster/NetloadIn.py
@@ -223,17 +223,18 @@ class NetloadIn(Hoster):
break
if self.check_free_wait(response_page):
- self.logDebug("Had to wait for next free slot:")
+ self.logDebug("Had to wait for next free slot, trying again")
+ return self.download_html()
else:
download_url = self.get_file_url(response_page)
self.logDebug("Download URL after get_file: " + download_url)
- if not download_url.startswith("http://"):
+ if not download_url.startswith("http://"):
self.error("download url: %s" % download_url)
- self.wait()
+ self.wait()
- self.url = download_url
- #self.logDebug("download_url: " + download_url)
- break
+ self.url = download_url
+ #self.logDebug("download_url: " + download_url)
+ break
return True
def get_file_url(self, page):