.chain(*iterables)
This commit is contained in:
parent
2a47a5a3f9
commit
a61abdaa68
@ -287,7 +287,7 @@ class PanoptoIE(PanoptoBaseIE):
|
|||||||
return map(
|
return map(
|
||||||
lambda u: cls.url_result(u, cls.ie_key()),
|
lambda u: cls.url_result(u, cls.ie_key()),
|
||||||
orderedSet(m.group('url') for m in itertools.chain(
|
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):
|
def _mark_watched(self, base_url, video_id, delivery_info):
|
||||||
duration = traverse_obj(delivery_info, ('Delivery', 'Duration'), expected_type=float)
|
duration = traverse_obj(delivery_info, ('Delivery', 'Duration'), expected_type=float)
|
||||||
|
Loading…
Reference in New Issue
Block a user