docs: add info event response example

This commit is contained in:
LuanRT
2021-11-04 04:27:35 -03:00
parent af4a4b8b82
commit 309942090d

View File

@@ -594,6 +594,7 @@ async function start() {
});
stream.on('info', (info) => {
// { video_details: {..}, selected_format: {..}, formats: {..} }
console.info('[DOWNLOADER]', `Downloading ${info.video_details.title} by ${info.video_details.metadata.channel_name}`);
});