mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 20:12:12 +00:00
fix: Innertube.download
This commit is contained in:
@@ -445,7 +445,7 @@ class Innertube {
|
||||
const info = await this.getInfo(video_id);
|
||||
underlying_stream = info.download(options);
|
||||
underlying_stream.pipe(stream);
|
||||
})
|
||||
})();
|
||||
|
||||
stream.cancel = () => {
|
||||
underlying_stream?.cancel();
|
||||
|
||||
Reference in New Issue
Block a user