mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
LiveStream Error fixes
This commit is contained in:
@@ -41,7 +41,7 @@ function parseAudioFormats(formats: any[]) {
|
||||
export type YouTubeStream = Stream | LiveStreaming;
|
||||
|
||||
export async function stream(url: string, options: StreamOptions = {}): Promise<YouTubeStream> {
|
||||
const info = await video_info(url, options.cookie);
|
||||
const info = await video_info(url, { cookie : options.cookie });
|
||||
const final: any[] = [];
|
||||
if (
|
||||
info.LiveStreamData.isLive === true &&
|
||||
|
||||
Reference in New Issue
Block a user