mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-06-30 19:12:53 -05:00
[extractor/common] Improve jwplayer formats extraction (closes #13379)
This commit is contained in:
@ -2328,6 +2328,8 @@ class InfoExtractor(object):
|
|||||||
urls = []
|
urls = []
|
||||||
formats = []
|
formats = []
|
||||||
for source in jwplayer_sources_data:
|
for source in jwplayer_sources_data:
|
||||||
|
if not isinstance(source, dict):
|
||||||
|
continue
|
||||||
source_url = self._proto_relative_url(source.get('file'))
|
source_url = self._proto_relative_url(source.get('file'))
|
||||||
if not source_url:
|
if not source_url:
|
||||||
continue
|
continue
|
||||||
|
Reference in New Issue
Block a user