summaryrefslogtreecommitdiffstats
path: root/Plugins
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-07-03 15:14:14 +0200
committerGravatar spoob <spoob@gmx.de> 2009-07-03 15:14:14 +0200
commite7b328fb5afdfa0d7e51fdf0cd9797c9a6c3a3d6 (patch)
treee00aaf88cfe6933d951c61ce713a1ab04a2565b9 /Plugins
parentcleaned up the share-online plugin (diff)
downloadpyload-e7b328fb5afdfa0d7e51fdf0cd9797c9a6c3a3d6.tar.xz
rapidshare server selection, ul.to links works
Diffstat (limited to 'Plugins')
-rw-r--r--Plugins/RapidshareCom.py5
-rw-r--r--Plugins/UploadedTo.py2
2 files changed, 5 insertions, 2 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
diff --git a/Plugins/UploadedTo.py b/Plugins/UploadedTo.py
index f1e7d8ae3..7f30a0519 100644
--- a/Plugins/UploadedTo.py
+++ b/Plugins/UploadedTo.py
@@ -12,7 +12,7 @@ class UploadedTo(Plugin):
props = {}
props['name'] = "UploadedTo"
props['type'] = "hoster"
- props['pattern'] = r"http://(www\.)?uploaded.to/"
+ props['pattern'] = r"http://(?:www\.)?u(?:p)?l(?:oaded)?\.to/"
props['version'] = "0.1"
props['description'] = """Uploaded.to Download Plugin"""
props['author_name'] = ("spoob")