summaryrefslogtreecommitdiffstats
path: root/module/plugins/RapidshareCom.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-11-10 23:16:26 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-11-10 23:16:26 +0100
commit7c50993e16a6adaa4bdb5f615c9e6cf279c16316 (patch)
tree3f247b49435bc383c24f649f1d34a0ad98096ece /module/plugins/RapidshareCom.py
parentbetter uploaded pattern (diff)
downloadpyload-7c50993e16a6adaa4bdb5f615c9e6cf279c16316.tar.xz
fixed regex for uploaded.to
Diffstat (limited to 'module/plugins/RapidshareCom.py')
-rw-r--r--module/plugins/RapidshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/RapidshareCom.py b/module/plugins/RapidshareCom.py
index 63570c566..5044c2e00 100644
--- a/module/plugins/RapidshareCom.py
+++ b/module/plugins/RapidshareCom.py
@@ -82,8 +82,8 @@ class RapidshareCom(Plugin):
api_param = {"sub": "checkfiles_v1", "files": "", "filenames": "", "incmd5": "1"}
m = re.compile(self.props['pattern']).search(url)
if m:
- api_param["files"] = m.group(3)
- api_param["filenames"] = m.group(4)
+ api_param["files"] = m.group(1)
+ api_param["filenames"] = m.group(2)
src = self.req.load(api_url_base, cookies=False, get=api_param)
if not src.find("ERROR"):
return