aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-07-04 17:57:44 +0100
committerRemita Amine <remitamine@gmail.com>2016-07-04 17:59:58 +0100
commit81953d1ae53bc5b3344243480316d751004a4d40 (patch)
treead71657b39d7910ed43578a2b50d39f4fbe0d967 /youtube_dl/utils.py
parent3a212ed62e45cd69e1bcd57402c5a6a6f7e8908b (diff)
[kaltura] add support videos stored on custom kaltura servers(closes #5557)
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 495878a0e..d302f39e4 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -1444,6 +1444,8 @@ def shell_quote(args):
def smuggle_url(url, data):
""" Pass additional data in a URL for internal use. """
+ url, idata = unsmuggle_url(url, {})
+ data.update(idata)
sdata = compat_urllib_parse_urlencode(
{'__youtubedl_smuggle': json.dumps(data)})
return url + '#' + sdata