music-downloader icon indicating copy to clipboard operation
music-downloader copied to clipboard

🎵 Command line utility to download music from YouTube

music-downloader

Deprecated, use maroon instead

npm

Command line utility to download music from YouTube

Installation

npm

npm i -g music-downloader

Yarn

yarn global add music-downloader

Usage

  1. Run music-downloader in a console.
  2. You will be prompted for a text file to load videos from.
  3. Specify where a pre-existing directory to save audio to.
  4. Wait for all downloads to complete.

Accepted videos

Videos are loaded from a text file you specify. The file must end in the txt extension and have one video ID resolvable per line. A video ID resolvable is:

  • a YouTube.com URL, (e.g. https://www.youtube.com/watch?v=C0DPdy98e4c),
  • a youtu.be URL (e.g. https://youtu.be/C0DPdy98e4c), or
  • a video ID (e.g. C0DPdy98e4c).

Duplicates are filtered out on execution, the file will not be modified.