mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 06:42:21 +00:00
.chain(*iterables)
This commit is contained in:
parent
2a47a5a3f9
commit
a61abdaa68
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user