projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dd5415
)
[extractor/common] Improve jwplayer formats extraction (closes #13379)
author
Sergey M․
<dstftw@gmail.com>
Wed, 14 Jun 2017 15:02:15 +0000
(22:02 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 14 Jun 2017 15:02:15 +0000
(22:02 +0700)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index f027447c81922c4ab0f0974f6703be739de515ea..941385ae2eb3bd844989d19efb86f233c50d45c8 100644
(file)
--- a/
youtube_dl/extractor/common.py
+++ b/
youtube_dl/extractor/common.py
@@
-2328,6
+2328,8
@@
class InfoExtractor(object):
urls = []
formats = []
for source in jwplayer_sources_data:
+ if not isinstance(source, dict):
+ continue
source_url = self._proto_relative_url(source.get('file'))
if not source_url:
continue