mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-16 06:15:46 +00:00
.chain(*iterables)
This commit is contained in:
parent
2a47a5a3f9
commit
a61abdaa68
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue