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
When I use highestaudio and highestvideo qualities, nothing happens. When I use pipe, my file has no content.
highestaudio
highestvideo
pipe
const cookies = JSON.parse(fs.readFileSync('cookies/youtube.json', 'utf8')); const agent = ytdl.createAgent(cookies); const audio = ytdl(url, { quality: 'highestaudio', agent: agent }); let inputFilePath = `temp/${Func.uuid()}.webm`; let outputFilePath = `temp/${Func.uuid()}.mp3`; console.log(`Downloading audio from ${url}...`); audio.pipe(fs.createWriteStream(inputFilePath))
And when I use audioonly and videoonly filters the same thing happens.
audioonly
videoonly
And I tried to use audioandvideo and videoandvideo filters, and they worked.
audioandvideo
videoandvideo
// other code const audio = ytdl(url, { filter: 'audioandvideo', agent: agent }); // other code
// other code const audio = ytdl(url, { filter: 'videoandvideo', agent: agent }); // other code
The text was updated successfully, but these errors were encountered:
Same here. Only thing you can do for now is downgrading to 4.15.6, do that until the next release where it gets fixed...
Sorry, something went wrong.
Further debugging showed a 403 error. Same as this issue
No branches or pull requests
Qualities don’t work
When I use
highestaudio
andhighestvideo
qualities, nothing happens. When I usepipe
, my file has no content.Filters don’t work
And when I use
audioonly
andvideoonly
filters the same thing happens.Filters that work
And I tried to use
audioandvideo
andvideoandvideo
filters, and they worked.Environment
The text was updated successfully, but these errors were encountered: