fixing no audio stupid

This commit is contained in:
localhost 2024-06-28 19:59:56 +02:00
parent 884174e4f5
commit b29c5dcd48
1 changed files with 1 additions and 3 deletions

View File

@ -30,9 +30,7 @@ async function downloadVideo(url, ws, id) {
const alreadyPrecentages = [] const alreadyPrecentages = []
const target = Array.isArray(downloadJson.url) ? downloadJson.url[0] : downloadJson.url const target = Array.isArray(downloadJson.url) ? downloadJson.url[0] : downloadJson.url
const download = wget.download(target, `./videos/${id}.mp4`, { const download = wget.download(target, `./videos/${id}.mp4`)
proxy: 'http://gluetun:8888'
})
download.on('start', fileSize => { download.on('start', fileSize => {
size = fileSize size = fileSize