summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2010-11-20 18:50:39 +0100
committerGravatar Jeix <devnull@localhost> 2010-11-20 18:50:39 +0100
commit5f81638b63ba4df560f07bd5be25f8f37e343c18 (patch)
tree18fff8e8f2c7f240da222c3433243c30bec04270 /module/plugins
parentshareCx fix no2 (diff)
downloadpyload-5f81638b63ba4df560f07bd5be25f8f37e343c18.tar.xz
sharecx fix 3
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/ShareCx.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/hoster/ShareCx.py b/module/plugins/hoster/ShareCx.py
index d7b1888e8..f3f025c0b 100644
--- a/module/plugins/hoster/ShareCx.py
+++ b/module/plugins/hoster/ShareCx.py
@@ -111,7 +111,7 @@ class ShareCx(Hoster):
referer = re.search(r'name="referer" value="(.*?)"', self.html).group(1)
method_free = re.search(r'name="method_free" value="(.*?)"', self.html).group(1)
method_premium = re.search(r'name="method_premium" value="(.*?)"', self.html).group(1)
- down_script = re.search(r'name="down_script" value="(.*?)"', self.html).group(1)
+ down_script = re.search(r'name="down_script" value="(.*?)"', self.html)
data = {
"op" : op,
@@ -120,9 +120,12 @@ class ShareCx(Hoster):
"referer" : referer,
"method_free" : method_free,
"method_premium" : method_premium,
- "down_script" : down_script
+ #"down_script" : down_script
}
+ if down_script:
+ data["down_script"] = down_script.group(1)
+
if '/captchas/' in self.html:
captcha_url = re.search(r'(http://(?:[\w\d]+\.)?.*?/captchas/.*?)', self.html).group(1)
captcha = self.decryptCaptcha(captcha_url)