Simple script to download, cut and convert youtube videos to mp3 using ffmpeg
npm install
- Youtube URL = Only the number is necessary for example: dQw4w9WgXcQ
- Video start = The second the conversion should start
- How long it last = The seconds the audio should last
- Directory is optional
node main.js YOUTUBEURL VIDEOSTART SECONDSITSHOULDLAST DIRECTORY
Example
node main.js dQw4w9WgXcQ 0 02:00 audios