From 3cd8d36aa784c5a4d160318ae90213b81d5ed4ca Mon Sep 17 00:00:00 2001 From: Killer069 <65385476+killer069@users.noreply.github.com> Date: Tue, 7 Sep 2021 13:00:17 +0530 Subject: [PATCH] added cookie parameter in retry options --- play-dl/YouTube/stream.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/play-dl/YouTube/stream.ts b/play-dl/YouTube/stream.ts index 61e5384..7de9d70 100644 --- a/play-dl/YouTube/stream.ts +++ b/play-dl/YouTube/stream.ts @@ -50,7 +50,7 @@ export async function stream(url : string, cookie? : string): Promise{ +export async function stream_from_info(info : InfoData, cookie? : string): Promise{ let final: any[] = []; let type : StreamType; if(info.LiveStreamData.isLive === true && info.LiveStreamData.hlsManifestUrl !== null && info.video_details.durationInSec === '0') { @@ -90,7 +90,7 @@ export async function stream_from_info(info : InfoData): Promise