diff --git a/youtube_dl/extractor/panopto.py b/youtube_dl/extractor/panopto.py index beb46f5ae..f76c1be71 100644 --- a/youtube_dl/extractor/panopto.py +++ b/youtube_dl/extractor/panopto.py @@ -287,7 +287,7 @@ class PanoptoIE(PanoptoBaseIE): return map( lambda u: cls.url_result(u, cls.ie_key()), orderedSet(m.group('url') for m in itertools.chain( - re.finditer(embed_re, webpage) for embed_re in cls._EMBED_REGEX))) + *(re.finditer(embed_re, webpage) for embed_re in cls._EMBED_REGEX)))) def _mark_watched(self, base_url, video_id, delivery_info): duration = traverse_obj(delivery_info, ('Delivery', 'Duration'), expected_type=float)