diff options
author | spoob <spoob@gmx.de> | 2009-06-16 23:12:31 +0200 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-06-16 23:12:31 +0200 |
commit | a665a9a1043f1cca8c3fd45365bb2443c80ae20c (patch) | |
tree | ac8e09719dd2a14e57a253a7dd73efeb7d31011a /Plugins | |
parent | fixed request bug (diff) | |
download | pyload-a665a9a1043f1cca8c3fd45365bb2443c80ae20c.tar.xz |
fixed rapidshare server url bug
Diffstat (limited to 'Plugins')
-rw-r--r-- | Plugins/RapidshareCom.py | 4 |
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] |