summaryrefslogtreecommitdiffstats
path: root/Plugins
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-06-16 23:12:31 +0200
committerGravatar spoob <spoob@gmx.de> 2009-06-16 23:12:31 +0200
commita665a9a1043f1cca8c3fd45365bb2443c80ae20c (patch)
treeac8e09719dd2a14e57a253a7dd73efeb7d31011a /Plugins
parentfixed request bug (diff)
downloadpyload-a665a9a1043f1cca8c3fd45365bb2443c80ae20c.tar.xz
fixed rapidshare server url bug
Diffstat (limited to 'Plugins')
-rw-r--r--Plugins/RapidshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Plugins/RapidshareCom.py b/Plugins/RapidshareCom.py
index 0adae9c15..84f03b651 100644
--- a/Plugins/RapidshareCom.py
+++ b/Plugins/RapidshareCom.py
@@ -14,7 +14,7 @@ class RapidshareCom(Plugin):
props = {}
props['name'] = "RapidshareCom"
props['type'] = "hoster"
- props['pattern'] = r"http://(?:www.)?rapidshare.com/files/"
+ props['pattern'] = r"http://(?:www.)?(rs\d*.)?rapidshare.com/files/"
props['version'] = "0.1"
props['description'] = """Rapidshare.com Download Plugin"""
props['author_name'] = ("spoob")
@@ -124,7 +124,7 @@ class RapidshareCom(Plugin):
def get_file_name(self):
if self.html[0] == None:
self.download_html()
-
+
file_name_pattern = r"<p class=\"downloadlink\">.+/(.+)<font"
return re.findall(file_name_pattern, self.html[0])[0]