diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-06-14 22:02:15 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-06-14 22:02:15 +0700 |
commit | 0a268c6e11e9fb55f41b474497997bff61d97cd2 (patch) | |
tree | 67977d79dc97f81da727baaef37142ecb0a30964 /youtube_dl | |
parent | 7dd5415cd0e824b00e6abf9a18d55701d52babec (diff) |
[extractor/common] Improve jwplayer formats extraction (closes #13379)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/common.py | 2 |
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 |