Code refactoring and set up format selection

Set up format selection and archive download for next releases
This commit is contained in:
2022-06-02 17:01:26 +02:00
parent 413b89166b
commit 975784ed72
18 changed files with 298 additions and 101 deletions

View File

@@ -0,0 +1,14 @@
interface IDownloadInfo {
formats: Array<IDownloadInfoSection>,
best: IDownloadInfoSection,
thumbnail: string,
title: string,
}
interface IDownloadInfoSection {
format_id: string,
format_note: string,
fps: number,
resolution: string,
vcodec: string,
}