api/youtube: add an option to use HLS streams

- added `youtubeHLS` variable to api
- added youtube HLS parsing & handling
This commit is contained in:
wukko
2024-10-28 15:17:54 +06:00
parent 24ae08b105
commit c9eefc4d55
5 changed files with 171 additions and 57 deletions

View File

@@ -42,6 +42,8 @@ export const apiSchema = z.object({
tiktokFullAudio: z.boolean().default(false),
tiktokH265: z.boolean().default(false),
twitterGif: z.boolean().default(true),
youtubeDubBrowserLang: z.boolean().default(false),
youtubeHLS: z.boolean().default(false),
})
.strict();