aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/YoutubeDL.py
diff options
context:
space:
mode:
authorBenedikt Wildenhain <benedikt.wildenhain@hs-bochum.de>2021-12-24 23:05:23 +0100
committerGitHub <noreply@github.com>2021-12-25 03:35:23 +0530
commit4b4b7f746c1a05d1c842639e0bc4ed427fe609e3 (patch)
tree044299a656dcddadc75f606c8cbca903c3b34939 /yt_dlp/YoutubeDL.py
parente9efb99f66b57a2e25937dff3dd834b5e6c381e3 (diff)
downloadhypervideo-pre-4b4b7f746c1a05d1c842639e0bc4ed427fe609e3.tar.lz
hypervideo-pre-4b4b7f746c1a05d1c842639e0bc4ed427fe609e3.tar.xz
hypervideo-pre-4b4b7f746c1a05d1c842639e0bc4ed427fe609e3.zip
[OpenCast] Add extractors (#1905)
Original PR: https://github.com/ytdl-org/youtube-dl/pull/26934 Authored by: bwildenhain, C0D3D3V
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r--yt_dlp/YoutubeDL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py
index 6fcd52b99..4d6152e6e 100644
--- a/yt_dlp/YoutubeDL.py
+++ b/yt_dlp/YoutubeDL.py
@@ -1151,7 +1151,7 @@ class YoutubeDL(object):
str_fmt = f'{fmt[:-1]}s'
if fmt[-1] == 'l': # list
delim = '\n' if '#' in flags else ', '
- value, fmt = delim.join(variadic(value)), str_fmt
+ value, fmt = delim.join(variadic(value, allowed_types=(str, bytes))), str_fmt
elif fmt[-1] == 'j': # json
value, fmt = json.dumps(value, default=_dumpjson_default, indent=4 if '#' in flags else None), str_fmt
elif fmt[-1] == 'q': # quoted