mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-27 00:43:06 +00:00
parent
b99f11a56b
commit
5f562bd4bb
1 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,8 @@ def extract_format(format_id, format_url):
|
|||
|
||||
for format_id, format_url in stream.items():
|
||||
if format_id.startswith(STREAM_URL_PREFIX):
|
||||
if format_url and isinstance(format_url, list):
|
||||
format_url = format_url[0]
|
||||
extract_format(
|
||||
format_id[len(STREAM_URL_PREFIX):], format_url)
|
||||
|
||||
|
|
Loading…
Reference in a new issue