summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/OverLoadMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-09 17:34:30 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-09 17:34:30 +0100
commitf533c3c58f632e188d288535fc972e633c6b8f0a (patch)
treed1ee86282d7f1cfd470d1f0a3f8aa090fa5532c0 /module/plugins/hoster/OverLoadMe.py
parent[SkipRev] Improve file name grabbing (diff)
downloadpyload-f533c3c58f632e188d288535fc972e633c6b8f0a.tar.xz
Fix SSL option in some hoster plugins
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 2d7506f0a..d4f4c0135 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.08"
+ __version__ = "0.09"
__pattern__ = r'https?://.*overload\.me/.+'
@@ -39,7 +39,7 @@ class OverLoadMe(MultiHoster):
def handlePremium(self, pyfile):
- https = "https" if self.getConfig("https") else "http"
+ https = "https" if self.getConfig("ssl") else "http"
data = self.account.getAccountData(self.user)
page = self.load(https + "://api.over-load.me/getdownload.php",
get={'auth': data['password'],
@@ -57,7 +57,7 @@ class OverLoadMe(MultiHoster):
pyfile.size = parseFileSize(data['filesize'])
http_repl = ["http://", "https://"]
- self.link = data['downloadlink'].replace(*http_repl if self.getConfig("https") else *http_repl[::-1])
+ self.link = data['downloadlink'].replace(*http_repl if self.getConfig("ssl") else *http_repl[::-1])
if self.link != pyfile.url:
self.logDebug("New URL: %s" % self.link)