mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-07 07:39:59 +08:00
Add change sugested by bobfoss.
https://github.com/ytdl-org/youtube-dl/issues/23423#issuecomment-568222543
This commit is contained in:
parent
c748c6a2e1
commit
8d121b307d
@ -108,7 +108,7 @@ class SpankBangIE(InfoExtractor):
|
||||
})
|
||||
|
||||
for format_id, format_url in stream.items():
|
||||
if format_id.startswith(STREAM_URL_PREFIX):
|
||||
if format_id in ('240p','320p','480p','720p','1080p','4k'):
|
||||
if format_url and isinstance(format_url, list):
|
||||
format_url = format_url[0]
|
||||
extract_format(
|
||||
|
Loading…
x
Reference in New Issue
Block a user