From 7c50993e16a6adaa4bdb5f615c9e6cf279c16316 Mon Sep 17 00:00:00 2001 From: mkaay Date: Tue, 10 Nov 2009 23:16:26 +0100 Subject: fixed regex for uploaded.to --- module/plugins/RapidshareCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/RapidshareCom.py') 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 -- cgit v1.2.3