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
Hi,
I just want to get the downloadable url of a video, how can I simply do this ? Sorry, I am not super confortable with js.
Thanks in advance, even if it may be a newbie question.
Best regards,
The text was updated successfully, but these errors were encountered:
Hi! I guess you are asking for the code you have to write to download a video.
I am using this code:
const ytdl = require('ytdl-core'); const vid = await ytdl( 'https://www.youtube.com/watch?v=q0GCdwpdXzQ&ab_channel=LASS-Studios', { filter: (format) => format.container === 'mp4' }, ); vid.pipe(fs.createWriteStream('/downloads/test.mp4'));
Sorry, something went wrong.
No branches or pull requests
Hi,
I just want to get the downloadable url of a video, how can I simply do this ?
Sorry, I am not super confortable with js.
Thanks in advance, even if it may be a newbie question.
Best regards,
The text was updated successfully, but these errors were encountered: