[downloader:ytdl] add data from '_ytdl_extra' to info_dicts

This commit is contained in:
Mike Fährmann
2019-10-25 13:17:13 +02:00
parent 6e08ada4fe
commit 083e14ad9a

View File

@@ -58,6 +58,11 @@ class YoutubeDLDownloader(DownloaderBase):
return self._download_playlist(pathfmt, info_dict)
else:
info_dict = info_dict["entries"][index]
extra = pathfmt.kwdict.get("_ytdl_extra")
if extra:
info_dict.update(extra)
return self._download_video(pathfmt, info_dict)
def _download_video(self, pathfmt, info_dict):