summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/ShareRapidCom.py
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2012-04-25 11:22:04 +0200
committerGravatar Jeix <devnull@localhost> 2012-04-25 11:22:04 +0200
commit3748be281f6117309aa1c44d2c5419ce37dac964 (patch)
tree3b325713ca7272cb602872bc39316b225de1b58e /module/plugins/accounts/ShareRapidCom.py
parentclosed #561 this should do it. CryNickSystems fixed it before, but no version... (diff)
downloadpyload-3748be281f6117309aa1c44d2c5419ce37dac964.tar.xz
ShareRapid fix, closed #586, closed #588, thx godofdream
Diffstat (limited to 'module/plugins/accounts/ShareRapidCom.py')
-rw-r--r--module/plugins/accounts/ShareRapidCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/ShareRapidCom.py b/module/plugins/accounts/ShareRapidCom.py
index 9828b1f7e..a14f93a9c 100644
--- a/module/plugins/accounts/ShareRapidCom.py
+++ b/module/plugins/accounts/ShareRapidCom.py
@@ -5,7 +5,7 @@ from module.plugins.Account import Account
class ShareRapidCom(Account):
__name__ = "ShareRapidCom"
- __version__ = "0.1"
+ __version__ = "0.2"
__type__ = "account"
__description__ = """ShareRapid account plugin"""
__author_name__ = ("MikyWoW")
@@ -29,8 +29,8 @@ class ShareRapidCom(Account):
start = htm.index('id="inp_hash" name="hash" value="')
htm = htm[start+33:]
hashes = htm[0:32]
- html = req.load("http://share-rapid.com/prihlaseni/",
+ htm = req.load("http://share-rapid.com/prihlaseni/",
post={"hash": hashes,"login": user, "pass1": data["password"],"remember": 0,
"sbmt": "P%C5%99ihl%C3%A1sit"}, cookies=True)
- if "Heslo:" in html:
+ if "Heslo:" in htm:
self.wrongPassword() \ No newline at end of file