summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/RapideoPl.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/RapideoPl.py')
-rw-r--r--pyload/plugin/account/RapideoPl.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyload/plugin/account/RapideoPl.py b/pyload/plugin/account/RapideoPl.py
index dddb22781..d40c76cb5 100644
--- a/pyload/plugin/account/RapideoPl.py
+++ b/pyload/plugin/account/RapideoPl.py
@@ -31,6 +31,7 @@ class RapideoPl(Account):
_usr = None
_pwd = None
+
def loadAccountInfo(self, name, req):
self._req = req
try:
@@ -53,6 +54,7 @@ class RapideoPl(Account):
"premium": premium
})
+
def login(self, user, data, req):
self._usr = user
self._pwd = hashlib.md5(data["password"]).hexdigest()
@@ -67,6 +69,7 @@ class RapideoPl(Account):
data['usr'] = self._usr
data['pwd'] = self._pwd
+
def createAuthQuery(self):
query = self._api_query
query["username"] = self._usr
@@ -74,6 +77,7 @@ class RapideoPl(Account):
return query
+
def runAuthQuery(self):
data = self._req.load(self._api_url, post=self.createAuthQuery())