diff options
author | J-8 <jbuchta@students.uni-mainz.de> | 2015-08-02 17:08:56 +0200 |
---|---|---|
committer | J-8 <jbuchta@students.uni-mainz.de> | 2015-08-02 17:08:56 +0200 |
commit | 28e9402033aa53f7a39a40e62cd332d2df6014ba (patch) | |
tree | 41e9c20d8ae016782cb09495bd241b9099a912d3 /module | |
parent | Merge pull request #1659 from skpyl/stable (diff) | |
download | pyload-28e9402033aa53f7a39a40e62cd332d2df6014ba.tar.xz |
Fix for issue #1654
Replaced HTTP with HTTPS in order not to reveal user credentials.
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/accounts/ShareonlineBiz.py | 2 | ||||
-rw-r--r-- | module/plugins/hoster/ShareonlineBiz.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py index a1045bbe7..28b2b0c68 100644 --- a/module/plugins/accounts/ShareonlineBiz.py +++ b/module/plugins/accounts/ShareonlineBiz.py @@ -17,7 +17,7 @@ class ShareonlineBiz(Account): def api_response(self, user, password, req): - res = self.load("http://api.share-online.biz/cgi-bin", + res = self.load("https://api.share-online.biz/cgi-bin", get={'q' : "userdetails", 'aux' : "traffic", 'username': user, diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py index bd8a8d1be..b5af3ea35 100644 --- a/module/plugins/hoster/ShareonlineBiz.py +++ b/module/plugins/hoster/ShareonlineBiz.py @@ -122,7 +122,7 @@ class ShareonlineBiz(SimpleHoster): def handle_premium(self, pyfile): #: Should be working better loading (account) api internally - html = self.load("http://api.share-online.biz/account.php", + html = self.load("https://api.share-online.biz/account.php", get={'username': self.user, 'password': self.account.get_info(self.user)['login']['password'], 'act' : "download", |