Youtube-dl-status
This code is a fork. It's not mine.
I have added one word. Just added return at lib/youtube-dl.js:161
. Looks like they are not accepting pull-requests anymore, so published it myself. This return statement makes it possible to get feedback of the download progress from the binary. In case you don't need this, don't use this library, use this one.
; const conf = '--extract-audio' '--audio-quality=0' '--format=bestaudio' '--audio-format=mp3' '--output=download.%(ext)s'; const downloadProcess = YoutubeDL; downloadProcessstdout;