This commit is contained in:
localhost 2024-03-29 18:50:22 +01:00
parent e6ecd683e4
commit 60bf1f5533
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,9 @@ async function downloadVideo(url, ws, id) {
let size = '' let size = ''
const alreadyPrecentages = [] const alreadyPrecentages = []
const download = wget.download(downloadJson.url, `./videos/${id}.webm`) const download = wget.download(downloadJson.url, `./videos/${id}.webm`, {
proxy: 'socks5://gluetun:1080'
})
download.on('start', fileSize => { download.on('start', fileSize => {
size = fileSize size = fileSize