diff options
author | Nils Hesse <nphesse@gmail.com> | 2013-02-22 15:20:34 +0100 |
---|---|---|
committer | Nils Hesse <nphesse@gmail.com> | 2013-02-22 15:20:34 +0100 |
commit | c00d44161399f7094931bac8144f544f3dd4002b (patch) | |
tree | b5b7dc71b1bc24d19e483ccce0181f35d7451d55 /module/plugins/hoster | |
parent | Change exception handling to Python 2.5 compatible syntax. Increase version n... (diff) | |
download | pyload-c00d44161399f7094931bac8144f544f3dd4002b.tar.xz |
Change from https:// to http:// for api.reload.cc requests (SSL not supported yet)
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/ReloadCc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/ReloadCc.py b/module/plugins/hoster/ReloadCc.py index 6edce3b14..7dc6d9bb6 100644 --- a/module/plugins/hoster/ReloadCc.py +++ b/module/plugins/hoster/ReloadCc.py @@ -6,7 +6,7 @@ from module.network.HTTPRequest import BadHeader class ReloadCc(Hoster): __name__ = "ReloadCc" - __version__ = "0.3" + __version__ = "0.4" __type__ = "hoster" __description__ = """Reload.Cc hoster plugin""" @@ -47,7 +47,7 @@ class ReloadCc(Hoster): query_params.update(dict(pwd=data['password'])) try: - answer = self.load("https://api.reload.cc/dl", get=query_params) + answer = self.load("http://api.reload.cc/dl", get=query_params) except BadHeader, e: if e.code == 400: self.fail("The URI is not supported by Reload.cc.") |