From 3748be281f6117309aa1c44d2c5419ce37dac964 Mon Sep 17 00:00:00 2001 From: Jeix Date: Wed, 25 Apr 2012 11:22:04 +0200 Subject: ShareRapid fix, closed #586, closed #588, thx godofdream --- module/plugins/accounts/ShareRapidCom.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/accounts/ShareRapidCom.py') 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 -- cgit v1.2.3