Code refactoring and set up format selection
Set up format selection and archive download for next releases
This commit is contained in:
@@ -14,6 +14,21 @@ export interface IDLInfoBase {
|
||||
resolution?: string
|
||||
}
|
||||
|
||||
export interface IDownloadInfo {
|
||||
formats: Array<IDownloadInfoSection>,
|
||||
best: IDownloadInfoSection,
|
||||
thumbnail: string,
|
||||
title: string,
|
||||
}
|
||||
|
||||
export interface IDownloadInfoSection {
|
||||
format_id: string,
|
||||
format_note: string,
|
||||
fps: number,
|
||||
resolution: string,
|
||||
vcodec: string,
|
||||
}
|
||||
|
||||
export interface IDLInfo {
|
||||
pid: number,
|
||||
info: IDLInfoBase
|
||||
|
||||
Reference in New Issue
Block a user