From 52de89b43c3b0e776459f1b7147d1e3fdada54f9 Mon Sep 17 00:00:00 2001 From: EGA-SUPREMO Date: Sun, 19 May 2024 12:14:46 -0400 Subject: [PATCH] clean code --- yt_dlp/extractor/cablecasttv.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yt_dlp/extractor/cablecasttv.py b/yt_dlp/extractor/cablecasttv.py index cac8eef40..b55ad5b6d 100644 --- a/yt_dlp/extractor/cablecasttv.py +++ b/yt_dlp/extractor/cablecasttv.py @@ -25,7 +25,9 @@ def _real_extract(self, url): video_url = self._html_search_regex(r'"([^\"]*\.m3u8)"', webpage_video, 'video URL') formats = [] - formats.extend(self._extract_m3u8_formats(video_url, video_id, ext='mp4', m3u8_id='hls')) + formats.extend(self._extract_m3u8_formats( + video_url, video_id, ext='mp4', m3u8_id='hls'), + note='Downloading HD m3u8 information', errnote='Unable to download HD m3u8 information') title = self._og_search_title(webpage) or self._html_search_regex(r'(.+?)', webpage, 'title')