summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/OverLoadMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-06 05:33:38 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-06 05:33:38 +0200
commit049298dbdbff33918454b03a3b072f418d47af97 (patch)
treec517dd205b9709eba77bc33d3f8f8e1ff0e3cc41 /module/plugins/accounts/OverLoadMe.py
parent[HighWayMe] Cleanup (diff)
downloadpyload-049298dbdbff33918454b03a3b072f418d47af97.tar.xz
Use SSL when login account
Diffstat (limited to 'module/plugins/accounts/OverLoadMe.py')
-rw-r--r--module/plugins/accounts/OverLoadMe.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/accounts/OverLoadMe.py b/module/plugins/accounts/OverLoadMe.py
index 64d04aded..702637d3f 100644
--- a/module/plugins/accounts/OverLoadMe.py
+++ b/module/plugins/accounts/OverLoadMe.py
@@ -15,9 +15,8 @@ class OverLoadMe(Account):
def loadAccountInfo(self, user, req):
- https = "https" if self.getConfig('ssl') else "http"
data = self.getAccountData(user)
- html = req.load(https + "://api.over-load.me/account.php",
+ html = req.load("https://api.over-load.me/account.php",
get={'user': user,
'auth': data['password']}).strip()
@@ -32,8 +31,7 @@ class OverLoadMe(Account):
def login(self, user, data, req):
- https = "https" if self.getConfig('ssl') else "http"
- jsondata = req.load(https + "://api.over-load.me/account.php",
+ jsondata = req.load("https://api.over-load.me/account.php",
get={'user': user,
'auth': data['password']}).strip()