Skip to content

Commit

Permalink
[spankbang] Fix extraction (closes #21763, closes #21764)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Jul 13, 2019
1 parent b99f11a commit 5f562bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions youtube_dl/extractor/spankbang.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5f562bd

Please sign in to comment.