diff options
author | marley2013 <marley@over-load.me> | 2015-01-03 19:12:57 +0100 |
---|---|---|
committer | marley2013 <marley@over-load.me> | 2015-01-03 19:12:57 +0100 |
commit | 3ca3abd993612970b564e8d1dadfb206f7d74c05 (patch) | |
tree | 1f5594bac18caaebd10dc87ba3b1a29145b4030e | |
parent | [MultiHook] Unload if related multihoster account is not available (diff) | |
download | pyload-3ca3abd993612970b564e8d1dadfb206f7d74c05.tar.xz |
Update OverLoadMe.py
Fixes SSL/NoSSL setitings
-rw-r--r-- | module/plugins/hoster/OverLoadMe.py | 6 |
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) |