mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Optimise YouTube stream function
This commit is contained in:
@@ -37,3 +37,10 @@ export interface InfoData {
|
||||
video_details: YouTubeVideo;
|
||||
related_videos: string[];
|
||||
}
|
||||
|
||||
export interface StreamInfoData {
|
||||
LiveStreamData: LiveStreamData;
|
||||
html5player: string;
|
||||
format: Partial<formatData>[];
|
||||
video_details: Pick<YouTubeVideo, 'url' | 'durationInSec'>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user