From: Sergey M․ Date: Wed, 14 Jun 2017 15:02:15 +0000 (+0700) Subject: [extractor/common] Improve jwplayer formats extraction (closes #13379) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=0a268c6e11e9fb55f41b474497997bff61d97cd2;p=youtube-dl [extractor/common] Improve jwplayer formats extraction (closes #13379) --- 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