summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/NowVideoSx.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/NowVideoSx.py')
-rw-r--r--module/plugins/accounts/NowVideoSx.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/accounts/NowVideoSx.py b/module/plugins/accounts/NowVideoSx.py
index a0cc90790..81267d413 100644
--- a/module/plugins/accounts/NowVideoSx.py
+++ b/module/plugins/accounts/NowVideoSx.py
@@ -24,7 +24,7 @@ class NowVideoSx(Account):
trafficleft = -1
premium = None
- html = req.load("http://www.nowvideo.sx/premium.php")
+ html = self.load("http://www.nowvideo.sx/premium.php", req=req)
m = re.search(self.VALID_UNTIL_PATTERN, html)
if m:
@@ -48,9 +48,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']},
- decode=True)
+ html = self.load("http://www.nowvideo.sx/login.php",
+ post={'user': user, 'pass': data['password']}, req=req)
if re.search(r'>Log In<', html):
self.wrongPassword()