-
Notifications
You must be signed in to change notification settings - Fork 31
BUG WHATSAPP #68
Copy link
Copy link
Open
Description
// Fluent builder API (recommended)
const result = await ytdlp
.download('https://youtube.com/watch?v=...')
.format({ filter: 'mergevideo', quality: '1080p', type: 'mp4' })
.output('./downloads')
.embedThumbnail()
.on('progress', (p) => console.log(${p.percentage_str}))
.run();
console.log('Files:', result.filePaths);
// With initial options
const result = await ytdlp
.download(url, {
format: { filter: 'mergevideo', quality: '1080p', type: 'mp4' },
})
.embedThumbnail()
.on('progress', (p) => console.log(p))
.run();
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels