summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Christian Plesche <chris-19@users.noreply.github.com> 2014-11-23 20:53:05 +0100
committerGravatar Christian Plesche <chris-19@users.noreply.github.com> 2014-11-23 20:53:05 +0100
commit17c5924c57a7e3c243b3915094f10dba6c47ff73 (patch)
tree29e261cc4b079500fd551b12d6954b159ca48700 /module/plugins/hoster
parentUpdate NetloadIn.py (diff)
downloadpyload-17c5924c57a7e3c243b3915094f10dba6c47ff73.tar.xz
Update NetloadIn.py
some code cleanup
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/NetloadIn.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py
index 4efd3839b..a912b438a 100644
--- a/module/plugins/hoster/NetloadIn.py
+++ b/module/plugins/hoster/NetloadIn.py
@@ -158,7 +158,7 @@ class NetloadIn(Hoster):
def download_html(self):
- self.logDebug("Netload: Entering download_html (%s)" % self.url)
+ #self.logDebug("Netload: Entering download_html (%s)" % self.url)
page = self.load(self.url, decode=True)
t = time() + 30
@@ -180,7 +180,7 @@ class NetloadIn(Hoster):
self.pyfile.name = name
captchawaited = False
- for i in range(2):
+ for i in range(5):
if not page:
page = self.load(self.url)
@@ -258,11 +258,9 @@ class NetloadIn(Hoster):
def proceed(self, url):
self.logDebug("Netload: Downloading.." + url)
-
self.download(url, disposition=True)
check = self.checkDownload({"empty": re.compile(r"^$"), "offline": re.compile("The file was deleted")})
-
if check == "empty":
self.logInfo(_("Downloaded File was empty"))
self.retry()