From 4ef546b3f09beaa3b922cc5d7baeed1b1540e486 Mon Sep 17 00:00:00 2001 From: Daniel Wykerd Date: Thu, 16 Jun 2022 02:49:29 +0200 Subject: [PATCH] fix: emit info Innertube.download --- lib/Innertube.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Innertube.js b/lib/Innertube.js index a8385927..fc290167 100644 --- a/lib/Innertube.js +++ b/lib/Innertube.js @@ -442,6 +442,7 @@ class Innertube { (async () => { const info = await this.getInfo(video_id); + stream.emit('info', info); info.download(options, stream); })();