youtube freaks out for anything non 360p

This commit is contained in:
localhost 2025-03-14 22:49:05 +01:00
parent 382be3c1df
commit bf028bc738
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import { getVideo } from '@/utils/metadata';
async function downloadVideo(ws: any, id: string): Promise<{ fail: boolean, message: string }> {
return new Promise(async (resolve, reject) => {
let quality = '480p'
let quality = '360p'
const video = await getVideo(id)
if (video.error) {
return resolve({