summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-11-15 20:44:38 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-11-15 20:44:38 +0100
commitc0e200afaa4bcdbd3b7ac405673909b08474a42c (patch)
tree7e8b585cee8c8d00072d146e213a46cb8a5d0ee3 /module/plugins
parentfixed youtube (diff)
downloadpyload-c0e200afaa4bcdbd3b7ac405673909b08474a42c.tar.xz
rapidshare plugin fix
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/RapidshareCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/RapidshareCom.py b/module/plugins/RapidshareCom.py
index e2602bdd6..476348cca 100644
--- a/module/plugins/RapidshareCom.py
+++ b/module/plugins/RapidshareCom.py
@@ -91,7 +91,7 @@ class RapidshareCom(Plugin):
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"):
+ if src.startswith("ERROR"):
return
fields = src.split(",")
self.api_data = {}