diff options
author | 2015-01-10 19:53:09 +0100 | |
---|---|---|
committer | 2015-01-10 19:53:09 +0100 | |
commit | aac6063859b9036612e86fb4029dc010d5c5d1e0 (patch) | |
tree | b29d1243838f3e5aca90f11181ee25defce5702a /module/plugins/hoster/NetloadIn.py | |
parent | [MultiHoster] Use content-disposition (diff) | |
download | pyload-aac6063859b9036612e86fb4029dc010d5c5d1e0.tar.xz |
Code cosmetics
Diffstat (limited to 'module/plugins/hoster/NetloadIn.py')
-rw-r--r-- | module/plugins/hoster/NetloadIn.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py index 27fc08033..35c814656 100644 --- a/module/plugins/hoster/NetloadIn.py +++ b/module/plugins/hoster/NetloadIn.py @@ -3,7 +3,7 @@ import re from urlparse import urljoin -from time import sleep, time +from time import time from module.network.RequestFactory import getURL from module.plugins.Hoster import Hoster @@ -129,7 +129,8 @@ class NetloadIn(Hoster): get={"file_id": match.group(1), "auth": "Zf9SnQh9WiReEsb18akjvQGqT0I830e8", "bz": "1", "md5": "1"}, decode=True).strip() if not html and n <= 3: - sleep(0.2) + self.setWait(2) + self.wait() self.api_load(n + 1) return |