summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/hoster/OverLoadMe.py6
1 files changed, 3 insertions, 3 deletions
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)