-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
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
Question #1266
Comments
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')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: