fixing no audio stupid
This commit is contained in:
parent
884174e4f5
commit
b29c5dcd48
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue