mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:01:28 +00:00
[extractor/common] Improve jwplayer formats extraction (closes #13379)
This commit is contained in:
parent
7dd5415cd0
commit
0a268c6e11
|
@ -2328,6 +2328,8 @@ def _parse_jwplayer_formats(self, jwplayer_sources_data, video_id=None,
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue