1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 10:56:48 +01:00

[extractor/common] Improve jwplayer formats extraction (closes #13379)

This commit is contained in:
Sergey M․ 2017-06-14 22:02:15 +07:00
parent 7dd5415cd0
commit 0a268c6e11
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -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