diff options
Diffstat (limited to 'module/plugins/accounts/RealdebridCom.py')
-rw-r--r-- | module/plugins/accounts/RealdebridCom.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/module/plugins/accounts/RealdebridCom.py b/module/plugins/accounts/RealdebridCom.py index 847a925d4..11b985a13 100644 --- a/module/plugins/accounts/RealdebridCom.py +++ b/module/plugins/accounts/RealdebridCom.py @@ -1,6 +1,8 @@ -from module.plugins.Account import Account import xml.dom.minidom as dom +from module.plugins.Account import Account + + class RealdebridCom(Account): __name__ = "RealdebridCom" __version__ = "0.41" @@ -18,8 +20,9 @@ class RealdebridCom(Account): return account_info def login(self, user, data, req): - page = req.load("https://real-debrid.com/ajax/login.php", get = {"user": user, "pass": data["password"]}) - #page = req.load("https://real-debrid.com/login.html", post={"user": user, "pass": data["password"]}, cookies=True) + page = req.load("https://real-debrid.com/ajax/login.php", get={"user": user, "pass": data["password"]}) + # page = req.load("https://real-debrid.com/login.html", + # post={"user": user, "pass": data["password"]}, cookies=True) if "Your login informations are incorrect" in page: self.wrongPassword() |