summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/account/FastixRu.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/account/FastixRu.py')
-rw-r--r--pyload/plugins/account/FastixRu.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/pyload/plugins/account/FastixRu.py b/pyload/plugins/account/FastixRu.py
index 2c7353920..6dacb8b11 100644
--- a/pyload/plugins/account/FastixRu.py
+++ b/pyload/plugins/account/FastixRu.py
@@ -5,12 +5,13 @@ from pyload.utils import json_loads
class FastixRu(Account):
- __name__ = "FastixRu"
- __type__ = "account"
+ __name__ = "FastixRu"
+ __type__ = "account"
__version__ = "0.02"
__description__ = """Fastix account plugin"""
- __authors__ = [("Massimo Rosamilia", "max@spiritix.eu")]
+ __license__ = "GPLv3"
+ __authors__ = [("Massimo Rosamilia", "max@spiritix.eu")]
def loadAccountInfo(self, user, req):
@@ -26,6 +27,7 @@ class FastixRu(Account):
account_info = {"validuntil": None, "trafficleft": None, "premium": False}
return account_info
+
def login(self, user, data, req):
page = req.load("http://fastix.ru/api_v2/?sub=get_apikey&email=%s&password=%s" % (user, data['password']))
api = json_loads(page)