summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar chaosmaker <philipp.antczak@gmail.com> 2013-11-01 18:10:25 +0100
committerGravatar chaosmaker <philipp.antczak@gmail.com> 2013-11-01 18:10:25 +0100
commit2741891cd9d757548ac70e4122b80e14a83afeb2 (patch)
treea13a947531060bf4f8513f3a59accc1274b031d6 /module/plugins/hoster
parentKeep2share: added k2s.cc support (diff)
downloadpyload-2741891cd9d757548ac70e4122b80e14a83afeb2.tar.xz
Update RealdebridCom.py
Changed Line 51 to use https instead of http as RealDebrid now only supports that.
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/RealdebridCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py
index 59997ee7c..40ee96df9 100644
--- a/module/plugins/hoster/RealdebridCom.py
+++ b/module/plugins/hoster/RealdebridCom.py
@@ -13,7 +13,7 @@ from module.plugins.Hoster import Hoster
class RealdebridCom(Hoster):
__name__ = "RealdebridCom"
- __version__ = "0.52"
+ __version__ = "0.53"
__type__ = "hoster"
__pattern__ = r"https?://.*real-debrid\..*"
@@ -48,7 +48,7 @@ class RealdebridCom(Hoster):
else:
password = password[0]
- url = "http://real-debrid.com/ajax/unrestrict.php?lang=en&link=%s&password=%s&time=%s" % (
+ url = "https://real-debrid.com/ajax/unrestrict.php?lang=en&link=%s&password=%s&time=%s" % (
quote(pyfile.url, ""), password, int(time() * 1000))
page = self.load(url)
data = json_loads(page)