1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05:00

Add title for story

This commit is contained in:
fireattack 2025-02-19 17:22:57 +08:00
parent 373147bf9c
commit e934db7f1d

View file

@ -738,6 +738,7 @@ def _real_extract(self, url):
highlights = traverse_obj(videos, (f'highlight:{story_id}', 'items'), (user_id, 'items'))
info_data = []
for highlight in highlights:
highlight['title'] = story_title
highlight_data = self._extract_product(highlight)
if highlight_data.get('formats'):
info_data.append({