fent / fent/node-ytdl-core

Audio File Not Working in Mac

Open
#1,259 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.7k
Forks
852
PR merge metrics
No merged PRs in 30d

Description

Hello,
We have download youtube audio from this package.This is working in **windows** but not working in **Mac** anymore.
# I have added my sample code here.

await new Promise((resolve) => { // wait
ytdl(youtubeUrl,{
quality: "highestaudio",
filter: "audioonly",
})
.on('error', async (err) => {
resolve()
})
.pipe(fs.createWriteStream('./uploads/'+filename))
.on('close', async() => {
resolve()
})
})

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.