2.0.4 • Published 1 year ago

@erlang94/y-dl v2.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

youtube audio downloader

install ffmpeg on your machine

Installation

$ npm i @erlang94/y-dl # via npm
$ yarn add @erlang94/y-dl # yarn

Example

const YoutubeAudio = require('@erlang94/y-dl')

const url = 'https://youtube.com/watch?v=60ItHLz5WEA'
const extension = 'm4a'
const directory = './output'

new YoutubeAudio(url)
    .audioCodec('aac')
    .audioBitrate(128)
    .audioChannels(2)
    .audioFrequency(44100)
    .output({ directory, extension })
    .download()
    .then((result) => console.log(result))
    .catch((e) => console.log(e))
2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago