mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-06 04:32:40 +00:00
stream fixed
This commit is contained in:
@@ -79,6 +79,9 @@ export async function stream(url : string, options? : StreamOptions): Promise<St
|
||||
|
||||
if(final.length === 0) throw new Error("Video Format > 480p is not found")
|
||||
}
|
||||
else{
|
||||
final.push(info.format[info.format.length - 1])
|
||||
}
|
||||
|
||||
return yt_stream(final[0].url)
|
||||
}
|
||||
Reference in New Issue
Block a user