mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-18 23:03:05 +01:00
Fix formats potentially being unbound
This commit is contained in:
parent
6b883f9d8c
commit
e96d15b3ae
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ class SenateBaseIE(InfoExtractor):
|
||||||
f'https://www-senate-gov-msl3archive.akamaized.net/{msl3}/{filename}_1/master.m3u8',
|
f'https://www-senate-gov-msl3archive.akamaized.net/{msl3}/{filename}_1/master.m3u8',
|
||||||
f'{stream_domain}/i/{filename}_1@{stream_num}/master.m3u8',
|
f'{stream_domain}/i/{filename}_1@{stream_num}/master.m3u8',
|
||||||
f'{stream_domain}/i/{filename}.mp4/master.m3u8']
|
f'{stream_domain}/i/{filename}.mp4/master.m3u8']
|
||||||
|
formats = None
|
||||||
for video_url in urls_alternatives:
|
for video_url in urls_alternatives:
|
||||||
formats = self._extract_m3u8_formats(video_url, video_id, ext='mp4', fatal=False)
|
formats = self._extract_m3u8_formats(video_url, video_id, ext='mp4', fatal=False)
|
||||||
if formats:
|
if formats:
|
||||||
|
|
Loading…
Add table
Reference in a new issue