mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 14:14:54 +01:00
parent
a264433c9f
commit
994f7ef8e6
|
@ -2562,7 +2562,7 @@ def _real_extract(self, url):
|
||||||
self._downloader.write_debug('Looking for embeds')
|
self._downloader.write_debug('Looking for embeds')
|
||||||
embeds = list(self._extract_embeds(original_url, webpage, urlh=full_response, info_dict=info_dict))
|
embeds = list(self._extract_embeds(original_url, webpage, urlh=full_response, info_dict=info_dict))
|
||||||
if len(embeds) == 1:
|
if len(embeds) == 1:
|
||||||
return {**info_dict, **embeds[0]}
|
return merge_dicts(embeds[0], info_dict)
|
||||||
elif embeds:
|
elif embeds:
|
||||||
return self.playlist_result(embeds, **info_dict)
|
return self.playlist_result(embeds, **info_dict)
|
||||||
raise UnsupportedError(url)
|
raise UnsupportedError(url)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user