diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-08-07 13:23:52 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-08-07 13:23:52 +0200 |
commit | d59f4d94c6b627b83269c643703824afb7faab14 (patch) | |
tree | c3e9756164daf58dfdfff69be8624d18d1d50934 /Plugins/RapidshareCom.py | |
parent | ... (diff) | |
download | pyload-d59f4d94c6b627b83269c643703824afb7faab14.tar.xz |
Rs fix, timed reconnect, Cli local option + displaying size
Diffstat (limited to 'Plugins/RapidshareCom.py')
-rw-r--r-- | Plugins/RapidshareCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Plugins/RapidshareCom.py b/Plugins/RapidshareCom.py index b07ba31a4..52d731053 100644 --- a/Plugins/RapidshareCom.py +++ b/Plugins/RapidshareCom.py @@ -39,7 +39,7 @@ class RapidshareCom(Plugin): tries = 0 - while not self.start_dl: + while not self.start_dl or not pyfile.status.url: self.req.clear_cookies() @@ -148,8 +148,8 @@ class RapidshareCom(Plugin): self.start_dl = True return re.search(file_url_pattern, self.html[1]).group(1) except Exception, e: - print e, html[1] - return None + self.start_dl = False + return False #print self.html[1] #test print #raise Exception, "Error when retrieving download url" |