diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2012-10-03 01:14:48 +0200 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2012-10-03 01:14:48 +0200 |
commit | 5658d5525d5088a6254322210c1641cbdba2eb7d (patch) | |
tree | f4f256e082d4f906ba11b25ccaedc1e39e652ba3 /module/plugins/accounts | |
parent | little multihoster fix (diff) | |
download | pyload-5658d5525d5088a6254322210c1641cbdba2eb7d.tar.xz |
update czshare, little fixes
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/CzshareCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/CzshareCom.py b/module/plugins/accounts/CzshareCom.py index 695e21b18..e68248aa8 100644 --- a/module/plugins/accounts/CzshareCom.py +++ b/module/plugins/accounts/CzshareCom.py @@ -24,7 +24,7 @@ import re class CzshareCom(Account): __name__ = "CzshareCom" - __version__ = "0.1" + __version__ = "0.11" __type__ = "account" __description__ = """czshare.com account plugin""" __author_name__ = ("zoidberg") @@ -48,11 +48,11 @@ class CzshareCom(Account): def login(self, user, data, req): - html = req.load('http://czshare.com/index.php', post={ + html = req.load('https://czshare.com/index.php', post={ "Prihlasit": "Prihlasit", "login-password": data["password"], "login-name": user }) - if "<p>You input a wrong user name or wrong password</p>" in html: + if '<div class="login' in html: self.wrongPassword() |