projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b99f11a
)
[spankbang] Fix extraction (closes #21763, closes #21764)
author
Sergey M․
<dstftw@gmail.com>
Sat, 13 Jul 2019 17:09:39 +0000
(
00:09
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 13 Jul 2019 17:13:26 +0000
(
00:13
+0700)
youtube_dl/extractor/spankbang.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/spankbang.py
b/youtube_dl/extractor/spankbang.py
index f11d728caac1e73e9fe746a87d95f4261fa11c0d..eb0919e3aa08ee98ccd680de8b1a65b280ef472b 100644
(file)
--- 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)