diff options
author | spoob <spoob@gmx.de> | 2009-12-27 23:29:51 +0100 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-12-27 23:29:51 +0100 |
commit | ea1cbdf0a88216d128ed63ec62b1ff0f22123556 (patch) | |
tree | 6ae597e511e362acda9266deeaaa247a0a9de6ab | |
parent | fixed uploaded.to and netload.in, gui clipboard check (diff) | |
download | pyload-ea1cbdf0a88216d128ed63ec62b1ff0f22123556.tar.xz |
Fixed Reconnect in Netload and Rapidshare
-rw-r--r-- | module/plugins/hoster/NetloadIn.py | 3 | ||||
-rw-r--r-- | module/plugins/hoster/RapidshareCom.py | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py index dc639df45..6941ad033 100644 --- a/module/plugins/hoster/NetloadIn.py +++ b/module/plugins/hoster/NetloadIn.py @@ -38,6 +38,8 @@ class NetloadIn(Plugin): def prepare(self, thread): pyfile = self.parent self.req.clear_cookies() + self.want_reconnect = False + self.download_api_data() if self.file_exists(): @@ -116,6 +118,7 @@ class NetloadIn(Plugin): def get_wait_time(self): if re.search(r"We had a reqeust with the IP", self.html[2]): + self.want_reconnect = True self.time_plus_wait = time() + 10 * 30 return diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py index 973e28470..5da9996fd 100644 --- a/module/plugins/hoster/RapidshareCom.py +++ b/module/plugins/hoster/RapidshareCom.py @@ -39,6 +39,7 @@ class RapidshareCom(Plugin): def prepare(self, thread): pyfile = self.parent self.req.clear_cookies() + self.want_reconnect = False self.download_api_data() if self.api_data["status"] == "1": |