1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-15 20:48:58 +00:00

[cleanup] Make more playlist entries lazy (#11763)

Authored by: seproDev
This commit is contained in:
sepro
2024-12-13 11:25:29 +01:00
committed by GitHub
parent dc3c4fddcc
commit 5421669626
4 changed files with 6 additions and 5 deletions

View File

@@ -343,7 +343,7 @@ class NYTimesCookingIE(NYTimesBaseIE):
if media_ids:
media_ids.append(lead_video_id)
return self.playlist_result(
[self._extract_video(media_id) for media_id in media_ids], page_id, title, description)
map(self._extract_video, media_ids), page_id, title, description)
return {
**self._extract_video(lead_video_id),