From c6f0d052136f9c3b49c7caa5b86e46545e088330 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Tue, 5 Mar 2024 00:59:33 +0530 Subject: [PATCH] Update yt_dlp/extractor/senategov.py --- yt_dlp/extractor/senategov.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yt_dlp/extractor/senategov.py b/yt_dlp/extractor/senategov.py index c874c29d8..089fd1d16 100644 --- a/yt_dlp/extractor/senategov.py +++ b/yt_dlp/extractor/senategov.py @@ -188,9 +188,9 @@ def _real_extract(self, url): 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}.mp4/master.m3u8'] - for videourl in urls_alternatives: - formats = self._extract_m3u8_formats(videourl, display_id, ext='mp4', fatal=False) - if len(formats) > 0: + for video_url in urls_alternatives: + formats = self._extract_m3u8_formats(video_url, display_id, ext='mp4', fatal=False) + if formats: break title = self._html_search_regex(