]> jfr.im git - yt-dlp.git/commitdiff
[ie/generic] Fix generic title for embeds
authorpukkandan <redacted>
Sat, 22 Jul 2023 02:24:25 +0000 (07:54 +0530)
committerpukkandan <redacted>
Sat, 22 Jul 2023 03:27:44 +0000 (08:57 +0530)
Closes #7067

yt_dlp/extractor/generic.py

index 8fa4c62217b0c069ae0c2c0f40d0ebed93bfa9d6..f5c59a0930f3abb1f58f6d50d17557437fb8c56d 100644 (file)
@@ -2562,7 +2562,7 @@ def _real_extract(self, url):
         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)