youtube-dl.js
Installation
Requirements
FFmpeg has to be installed to PATH
To install youtube-dl.js run npm install youtube-loader --save
To update the youtube-dl binary, run npm run updateytdl
or run the setup script (node setup.js
)
Usage
const ytdl = ; let url = "https://youtu.be/q5weS3aY-Qc" filename = `.%(ext)s` args = "-o" filename "-x" "--audio-format=mp3" "--restrict-filenames" "--external-downloader=ffmpeg" "--audio-quality=96k" options = console; ;
THX
for Delivator, he wrote this, i forked it to add status callbacks ;)