diff options
author | Sergey M․ <[email protected]> | 2019-07-14 00:09:39 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2019-07-14 00:13:26 +0700 |
commit | 5f562bd4bbc780e535e187efb36659247b41d6e5 (patch) | |
tree | b7a16cc64d8f595c0a945cb1c31fbd843665b574 | |
parent | b99f11a56b64b647366a00c335a4a55f3e9e1854 (diff) | |
download | youtube-dl-5f562bd4bbc780e535e187efb36659247b41d6e5.tar.gz youtube-dl-5f562bd4bbc780e535e187efb36659247b41d6e5.zip |
[spankbang] Fix extraction (closes #21763, closes #21764)
-rw-r--r-- | youtube_dl/extractor/spankbang.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/spankbang.py b/youtube_dl/extractor/spankbang.py index f11d728ca..eb0919e3a 100644 --- a/youtube_dl/extractor/spankbang.py +++ b/youtube_dl/extractor/spankbang.py @@ -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] extract_format( format_id[len(STREAM_URL_PREFIX):], format_url) |