diff options
author | 2015-01-11 14:54:48 +0100 | |
---|---|---|
committer | 2015-01-11 14:54:48 +0100 | |
commit | d2b60b5ceb369814a0de41c8b8744b5c4ed81523 (patch) | |
tree | 6619e01fc0e5f281e4d28678ec565860a86784ec /module/plugins/accounts/NowVideoSx.py | |
parent | updated nitroflare.com's plugin (diff) | |
parent | Code improvements (diff) | |
download | pyload-d2b60b5ceb369814a0de41c8b8744b5c4ed81523.tar.xz |
Merged with the updated nitroflare
Diffstat (limited to 'module/plugins/accounts/NowVideoSx.py')
-rw-r--r-- | module/plugins/accounts/NowVideoSx.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/accounts/NowVideoSx.py b/module/plugins/accounts/NowVideoSx.py index e2dcaba12..f44ae3865 100644 --- a/module/plugins/accounts/NowVideoSx.py +++ b/module/plugins/accounts/NowVideoSx.py @@ -10,7 +10,7 @@ from module.plugins.Account import Account class NowVideoSx(Account): __name__ = "NowVideoSx" __type__ = "account" - __version__ = "0.02" + __version__ = "0.03" __description__ = """NowVideo.at account plugin""" __license__ = "GPLv3" @@ -50,7 +50,8 @@ class NowVideoSx(Account): def login(self, user, data, req): html = req.load("http://www.nowvideo.sx/login.php", - post={'user': user, 'pass': data['password']}) + post={'user': user, 'pass': data['password']}, + decode=True) - if ">Invalid login details" is html: + if re.search(r'>Log In<', html): self.wrongPassword() |