summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-04-12 20:57:36 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-04-12 20:57:36 +0200
commita51800084e8d5bd8c7eeba8f2f401e13d11d5b84 (patch)
treeef94cbd9b68b95366ab3ce4f14d0204504db9e68 /module/plugins/hoster
parentmultihoster fix, fixes #576 (diff)
downloadpyload-a51800084e8d5bd8c7eeba8f2f401e13d11d5b84.tar.xz
closed #577
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 2bb709422..4fc3b4306 100644
--- a/module/plugins/hoster/RealdebridCom.py
+++ b/module/plugins/hoster/RealdebridCom.py
@@ -12,7 +12,7 @@ from module.plugins.Hoster import Hoster
class RealdebridCom(Hoster):
__name__ = "RealdebridCom"
- __version__ = "0.47"
+ __version__ = "0.48"
__type__ = "hoster"
__pattern__ = r"https?://.*real-debrid\..*"
@@ -64,7 +64,7 @@ class RealdebridCom(Hoster):
if self.pyfile.name and not self.pyfile.name.endswith('.tmp'):
self.pyfile.name = data["file_name"]
self.pyfile.size = parseFileSize(data["file_size"])
- new_url = data['generated_links'].split('|')[-1]
+ new_url = data['generated_links'][0][-1]
if self.getConfig("https"):
new_url = new_url.replace("http://", "https://")