Verified Commit 5f562bd4 authored by Sergey M.'s avatar Sergey M.
Browse files

[spankbang] Fix extraction (closes #21763, closes #21764)

parent b99f11a5
......@@ -106,6 +106,8 @@ class SpankBangIE(InfoExtractor):
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]
format_id[len(STREAM_URL_PREFIX):], format_url)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment