ytdl-run
youtube-dl runner in node.js
Install
yarn add ytdl-run
Usage
Basic
const ytdl = // supports async/awaitasync { // download file into current working directory await console}
Info
const info = await ytdl console // [MV] MOMOLAND (모모랜드) _ BBoom BBoom (뿜뿜)console // 210
Stream
const fs = ytdl stdout
Options
const opts = '-o' '%(title)s.%(ext)s' '--audio-quality' '0' 'https://www.youtube.com/watch?v=JQGRg8XBnB4'
Update to latest version
await ytdl // => 2019.05.11 (Returns current version)
Related
License
MIT