summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/OverLoadMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-21 08:50:26 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:43:08 +0200
commite4fb45b22d36595839e8f638a3f0a4669dba3e8d (patch)
tree549ba2a4f6e23a7178b8f91c79e0c037b36412ca /module/plugins/hoster/OverLoadMe.py
parentSpare code cosmetics (3) (diff)
downloadpyload-e4fb45b22d36595839e8f638a3f0a4669dba3e8d.tar.xz
Spare code cosmetics (4)
Diffstat (limited to 'module/plugins/hoster/OverLoadMe.py')
-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 8ba310b52..944d4c664 100644
--- a/module/plugins/hoster/OverLoadMe.py
+++ b/module/plugins/hoster/OverLoadMe.py
@@ -14,7 +14,8 @@ class OverLoadMe(MultiHoster):
__version__ = "0.12"
__pattern__ = r'https?://.*overload\.me/.+'
- __config__ = [("use_premium", "bool", "Use premium account if available", True)]
+ __config__ = [("use_premium" , "bool", "Use premium account if available" , True),
+ ("revertfailed", "bool", "Revert to standard download if fails", True)]
__description__ = """Over-Load.me multi-hoster plugin"""
__license__ = "GPLv3"
@@ -26,9 +27,8 @@ class OverLoadMe(MultiHoster):
def handlePremium(self, pyfile):
- https = "https" if self.getConfig('ssl') else "http"
data = self.account.getAccountData(self.user)
- page = self.load(https + "://api.over-load.me/getdownload.php",
+ page = self.load("https://api.over-load.me/getdownload.php",
get={'auth': data['password'],
'link': pyfile.url})