diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-05-29 00:16:22 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-05-29 00:16:22 +0200 |
commit | 5f1c75fd93af98a5d870424971f0383ac4614058 (patch) | |
tree | d0e3d5d00295cdd5c9f65a755254aced21a6ff68 /Plugins/RapidshareCom.py | |
parent | premium and free download works with rapidshare (diff) | |
download | pyload-5f1c75fd93af98a5d870424971f0383ac4614058.tar.xz |
socket server basic
Diffstat (limited to 'Plugins/RapidshareCom.py')
-rw-r--r-- | Plugins/RapidshareCom.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Plugins/RapidshareCom.py b/Plugins/RapidshareCom.py index 3af2333c8..ebe526903 100644 --- a/Plugins/RapidshareCom.py +++ b/Plugins/RapidshareCom.py @@ -28,7 +28,7 @@ class RapidshareCom(Plugin): self.multi_dl = False self.read_config() - if self.config['premium'] == "True": + if self.config['premium']: self.multi_dl = True def set_parent_status(self): @@ -65,7 +65,7 @@ class RapidshareCom(Plugin): def get_wait_time(self): - if self.config['premium'] == "True": + if self.config['premium']: self.time_plus_wait = 0 return True @@ -101,7 +101,7 @@ class RapidshareCom(Plugin): def get_file_url(self): """ returns the absolute downloadable filepath """ - if self.config['premium'] == "True": + if self.config['premium']: return self.parent.url if self.html[1] == None: @@ -126,7 +126,7 @@ class RapidshareCom(Plugin): def proceed(self, url, location): - if self.config['premium'] == "True": + if self.config['premium']: self.req.add_auth(self.config['username'], self.config['password']) self.req.download(url, location) |