storage is expensive

This commit is contained in:
localhost 2024-06-29 13:50:59 +02:00
parent 87a8f66f71
commit 26eb7b7ec5
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ const metadata = require('./metadata.js')
async function downloadVideo(url, ws, id) { async function downloadVideo(url, ws, id) {
return new Promise(async (resolve, reject) => { return new Promise(async (resolve, reject) => {
let quality = '720p60' let quality = '480p'
const video = await metadata.getVideoMetadata(id) const video = await metadata.getVideoMetadata(id)
if (video.error) { if (video.error) {
return resolve({ return resolve({