Update yt_dlp/extractor/linkedin.py

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
sepro
2025-04-27 19:49:59 +02:00
committed by GitHub
co-authored by bashonly
parent d54d6d875f
commit fbbed2a9b2
+2 -2
View File
@@ -314,9 +314,9 @@ class LinkedInEventsIE(InfoExtractor):
formats = []
for prog_fmts in traverse_obj(player_data, ('progressiveStreams', ..., {dict})):
for url in traverse_obj(prog_fmts, ('streamingLocations', ..., 'url', {url_or_none})):
for fmt_url in traverse_obj(prog_fmts, ('streamingLocations', ..., 'url', {url_or_none})):
formats.append({
'url': url,
'url': fmt_url,
**traverse_obj(prog_fmts, {
'width': ('width', {int_or_none}),
'height': ('height', {int_or_none}),