Liinkiing / ytomp3

A simple tool to export a YouTube video to a mp3
4 stars 1 forks source link
cli node oclif typescript youtube-downloader ytdl

@liinkiing/ytomp3

A simple tool to export a YouTube video to a mp3

oclif Version Downloads/week License

Installation

# with npm
$ npm i -g @liinkiing/ytomp3

# with yarn
$ yarn global add @liinkiing/ytomp3

# with npx
$ npx @liinkiing/ytomp3

Usage

USAGE
  $ ytomp3 [YOUTUBE_URL] # Convert a YouTube video to a mp3 file or a YouTube playlist to a zip file

ARGUMENTS
  YOUTUBE_URL  The youtube video or playlist URL (supports music.youtube.com)

OPTIONS
    -b, --bitrate=128|256|320  (required) [default: 128] Set the bitrate of the sound
    -t, --noThumbnail          Don't attach a thumbnail in the sound ID3 tags
    -n, --name=name            (required) [default: exported] The output file name