diff options
author | spoob <spoob@gmx.de> | 2009-07-03 15:14:14 +0200 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-07-03 15:14:14 +0200 |
commit | e7b328fb5afdfa0d7e51fdf0cd9797c9a6c3a3d6 (patch) | |
tree | e00aaf88cfe6933d951c61ce713a1ab04a2565b9 /Plugins/RapidshareCom.py | |
parent | cleaned up the share-online plugin (diff) | |
download | pyload-e7b328fb5afdfa0d7e51fdf0cd9797c9a6c3a3d6.tar.xz |
rapidshare server selection, ul.to links works
Diffstat (limited to 'Plugins/RapidshareCom.py')
-rw-r--r-- | Plugins/RapidshareCom.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Plugins/RapidshareCom.py b/Plugins/RapidshareCom.py index 35555eeb1..bbbcbebd1 100644 --- a/Plugins/RapidshareCom.py +++ b/Plugins/RapidshareCom.py @@ -132,7 +132,10 @@ class RapidshareCom(Plugin): self.download_serverhtml() if not self.want_reconnect: - file_url_pattern = r".*name=\"dlf\" action=\"(.*)\" method=.*" + if self.config['server'] == "": + file_url_pattern = r".*name=\"dlf\" action=\"(.*)\" method=.*" + else: + file_url_pattern = '(http://rs.*)\';" /> %s<br />' % self.config['server'] return re.search(file_url_pattern, self.html[1]).group(1) else: print self.html[1] #test print |