mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
update user_info for normal stories
This commit is contained in:
parent
592ac372ea
commit
d0c468ef93
1 changed files with 2 additions and 1 deletions
|
@ -739,7 +739,8 @@ 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
|
||||
if user_info := traverse_obj(videos, (user_id, 'user')):
|
||||
highlight['user'].update(user_info)
|
||||
highlight_data = self._extract_product(highlight)
|
||||
if highlight_data.get('formats'):
|
||||
info_data.append({
|
||||
|
|
Loading…
Reference in a new issue