summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-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)