We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, We have download youtube audio from this package.This is working in windows but not working in Mac anymore.
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() }) })
The text was updated successfully, but these errors were encountered:
the same probblem. did u resolver
Sorry, something went wrong.
Not yet
You are likely getting webm audio. You will have to filter for mp4(m4a). Apple not being on board with webm is an annoyance.
No branches or pull requests
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()
})
})
The text was updated successfully, but these errors were encountered: