diff --git a/yt_dlp/extractor/magellantv.py b/yt_dlp/extractor/magellantv.py index 0d38bdf1b..cab63d19e 100644 --- a/yt_dlp/extractor/magellantv.py +++ b/yt_dlp/extractor/magellantv.py @@ -49,7 +49,7 @@ def _real_extract(self, url): (('video', 'detail'), ('series', 'currentEpisode')), {dict}), get_all=False) formats = [] subtitles = {} - for url in traverse_obj(data, ((('manifests', ..., 'hls'), 'jwp_video_url'), {url_or_none})): + for url in set(traverse_obj(data, ((('manifests', ..., 'hls'), 'jwp_video_url'), {url_or_none}))): fmts, subs = self._extract_m3u8_formats_and_subtitles( url, video_id, 'mp4', m3u8_id='hls', fatal=False) formats.extend(fmts)