diff options
author | Jeix <devnull@localhost> | 2012-04-25 11:22:04 +0200 |
---|---|---|
committer | Jeix <devnull@localhost> | 2012-04-25 11:22:04 +0200 |
commit | 3748be281f6117309aa1c44d2c5419ce37dac964 (patch) | |
tree | 3b325713ca7272cb602872bc39316b225de1b58e /module/plugins/accounts/ShareRapidCom.py | |
parent | closed #561 this should do it. CryNickSystems fixed it before, but no version... (diff) | |
download | pyload-3748be281f6117309aa1c44d2c5419ce37dac964.tar.xz |
Diffstat (limited to 'module/plugins/accounts/ShareRapidCom.py')
-rw-r--r-- | module/plugins/accounts/ShareRapidCom.py | 6 |
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 |