From 3ca3abd993612970b564e8d1dadfb206f7d74c05 Mon Sep 17 00:00:00 2001 From: marley2013 Date: Sat, 3 Jan 2015 19:12:57 +0100 Subject: Update OverLoadMe.py Fixes SSL/NoSSL setitings --- module/plugins/hoster/OverLoadMe.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins') diff --git a/module/plugins/hoster/OverLoadMe.py b/module/plugins/hoster/OverLoadMe.py index f7c068b58..7cd439e15 100644 --- a/module/plugins/hoster/OverLoadMe.py +++ b/module/plugins/hoster/OverLoadMe.py @@ -13,7 +13,7 @@ from module.utils import parseFileSize class OverLoadMe(MultiHoster): __name__ = "OverLoadMe" __type__ = "hoster" - __version__ = "0.06" + __version__ = "0.07" __pattern__ = r'https?://.*overload\.me/.+' @@ -38,8 +38,8 @@ class OverLoadMe(MultiHoster): def handlePremium(self): data = self.account.getAccountData(self.user) - - page = self.load("https://api.over-load.me/getdownload.php", + https = "https" if self.getConfig("https") else "http" + page = self.load(https + "://api.over-load.me/getdownload.php", get={"auth": data['password'], "link": self.pyfile.url}) data = json_loads(page) -- cgit v1.2.3