youtube-converter
v1.0.5
Published
a cli tool which lets users download audio or video from youtube
Downloads
80
Readme
YOUTUBE CONVERTER CLI TOOL
A tool by kanishk6103
Instructions:
- To get this CLI tool, in your terminal type
npm install -g youtube-converter
. This installs youtube-converter gloabally. - You can download youtube videos and audio through this cli tool
- To download without much hassle just type in:
youtube-converter interactive
and you will get 3 options:
Download only Audio
To download just the audio, you'll have to select "Only Audio" from the interactive menu.
After selecting the option you'll be asked for a clean youtube url, paste the url and press enter.
The default download location is music/title of the video
Download only Video
To download just the video, you'll have to select "Only Video" from the interactive menu.
After selecting the option you'll be asked for a clean youtube url, paste the url and press enter.
The default download location is video/title of the video
Download Video with Audio
To download the video with audio, you'll have to select "Video with Audio" from the interactive menu.
After selecting the option you'll be asked for a clean youtube url, paste the url and press enter.
The default download location is videos/title of the video
Manual Download
Manual download gives the user more options to choose the folder and filename for the file. Either choose "Manual Download" from the menu or directly type in the following commands:
For Audio Only: youtube-converter download-audio <url> -f <folderPath> -n <fileName>
- Default folderPath: music
- Default fileName:
title of the video
For Video Only: youtube-converter download <url> -f <folderPath> -n <fileName>
- Default folderPath: videos
- Default fileName:
title of the video
For Video with Audio: youtube-converter download-av <url> -f <folderPath> -n <fileName>
- Default folderPath: videosAV
- Default fileName:
title of the video