[ie/generic] Fix generic title for embeds

Closes #7067
This commit is contained in:
pukkandan 2023-07-22 07:54:25 +05:30
parent a264433c9f
commit 994f7ef8e6
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39
1 changed files with 1 additions and 1 deletions

View File

@ -2562,7 +2562,7 @@ class GenericIE(InfoExtractor):
self._downloader.write_debug('Looking for embeds')
embeds = list(self._extract_embeds(original_url, webpage, urlh=full_response, info_dict=info_dict))
if len(embeds) == 1:
return {**info_dict, **embeds[0]}
return merge_dicts(embeds[0], info_dict)
elif embeds:
return self.playlist_result(embeds, **info_dict)
raise UnsupportedError(url)