1.0.2 • Published 6 years ago

easyyoutubedownload v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

easyyoutubedownload

This is a command line node program for downloading Youtube video as MP3 || MP4 format. Enjoy. :)

Github Repository

https://github.com/thisishkf/easyyoutubedownload

NPM repository

https://www.npmjs.com/package/easyyoutubedownload

Before Use

Install Node.js

As this is a node program, Node.js must be included. Please Install the Latest Current Version for Node.js

  • Install from offical website
  • download link : https://nodejs.org/en/download/

Install Node Dependencies

  • npm install fs youtube-dl fluent-ffmpeg ffmetadata

Install ffmpeg for Transfer Media Format

Install in offical website

  • download link : https://www.ffmpeg.org/download.html

Install with homebrew

  • brew install libvpx
  • brew install ffmpeg --with-libvpx

Config your own program

  1. Change the download destination by calling setDownloadPath(str, str)
	const easyyoutubedownload = require('easyyoutubedownload');
	easyyoutubedownload.setDownloadPath("mp3", __dirname + "/files/mp3");
	easyyoutubedownload.setDownloadPath("mp4", __dirname + "/files/mp4");
  1. Fill in the target Youtube video inforamtion
let options = {
	link : [youtube video code] ,
	type: [donwload as],
	title : [title],
	artist: [artist]
};

2.1 youtube video code

2.2 donwload as

  • is the target downloading format
  • only support MP3 or MP4

2.3 title

  • any valid filename for os
  • eg. enjoyThisProgram

2.4 artist

  • ang valid string for metadata
  • eg. Thisishkf
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago