aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2017-06-14 22:02:15 +0700
committerSergey M․ <[email protected]>2017-06-14 22:02:15 +0700
commit0a268c6e11e9fb55f41b474497997bff61d97cd2 (patch)
tree67977d79dc97f81da727baaef37142ecb0a30964 /youtube_dl/extractor/common.py
parent7dd5415cd0e824b00e6abf9a18d55701d52babec (diff)
downloadyoutube-dl-0a268c6e11e9fb55f41b474497997bff61d97cd2.tar.gz
youtube-dl-0a268c6e11e9fb55f41b474497997bff61d97cd2.zip
[extractor/common] Improve jwplayer formats extraction (closes #13379)
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index f027447c8..941385ae2 100644
--- 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