summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ShareRapidCom.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-03-07 16:41:25 +0100
committerGravatar Stefano <l.stickell@yahoo.it> 2013-03-07 16:41:25 +0100
commit8368a9a74d998b314f3864dcc8ce25c513d85cf9 (patch)
tree8995fd6c29742671a470667d59e8e6d167ed448b /module/plugins/hoster/ShareRapidCom.py
parentMerge pull request #32 from stickell/patch-1 (diff)
downloadpyload-8368a9a74d998b314f3864dcc8ce25c513d85cf9.tar.xz
Various fixes in 24 plugins
Diffstat (limited to 'module/plugins/hoster/ShareRapidCom.py')
-rw-r--r--module/plugins/hoster/ShareRapidCom.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hoster/ShareRapidCom.py b/module/plugins/hoster/ShareRapidCom.py
index aff88c6ac..5a08fed1f 100644
--- a/module/plugins/hoster/ShareRapidCom.py
+++ b/module/plugins/hoster/ShareRapidCom.py
@@ -9,8 +9,6 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, parseFileInfo
from module.common.json_layer import json_loads
def checkFile(url):
- info = {"name" : url, "size" : 0, "status" : 3}
-
response = getURL("http://share-rapid.com/checkfiles.php", post = {"files": url}, decode = True)
info = json_loads(response)
@@ -45,7 +43,7 @@ class ShareRapidCom(SimpleHoster):
__name__ = "ShareRapidCom"
__type__ = "hoster"
__pattern__ = r"http://(?:www\.)?((share(-?rapid\.(biz|com|cz|info|eu|net|org|pl|sk)|-(central|credit|free|net)\.cz|-ms\.net)|(s-?rapid|rapids)\.(cz|sk))|(e-stahuj|mediatack|premium-rapidshare|rapidshare-premium|qiuck)\.cz|kadzet\.com|stahuj-zdarma\.eu|strelci\.net|universal-share\.com)/stahuj/(\w+)"
- __version__ = "0.51"
+ __version__ = "0.52"
__description__ = """Share-rapid.com plugin - premium only"""
__author_name__ = ("MikyWoW", "zoidberg")
__author_mail__ = ("MikyWoW@seznam.cz", "zoidberg@mujmail.cz")
@@ -103,4 +101,4 @@ class ShareRapidCom(SimpleHoster):
elif re.search(self.ERR_CREDIT_PATTERN, self.html):
self.fail("Not enough credit left")
else:
- self.fail("Download link not found") \ No newline at end of file
+ self.fail("Download link not found")