https://github.com/alphka/node-ytdl
Command-line youtube video downloader
https://github.com/alphka/node-ytdl
audio audio-downloader cli downloader ffmpeg nodejs sharp video video-downloader youtube youtube-api youtube-dl youtube-downloader
Last synced: 2 months ago
JSON representation
Command-line youtube video downloader
- Host: GitHub
- URL: https://github.com/alphka/node-ytdl
- Owner: Alphka
- License: mit
- Created: 2022-07-20T21:15:11.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-27T01:02:38.000Z (12 months ago)
- Last Synced: 2025-06-27T02:19:10.880Z (12 months ago)
- Topics: audio, audio-downloader, cli, downloader, ffmpeg, nodejs, sharp, video, video-downloader, youtube, youtube-api, youtube-dl, youtube-downloader
- Language: JavaScript
- Homepage:
- Size: 183 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
node-ytdl
### Description
A youtube downloader that uses ytdl-core and ffmpeg.
Both video and audio are downloaded using the highest quality available
### Usage
Using a video's url
```
node-ytdl [options]
```
Searching for a video
```
node-ytdl [options]
```
### Supported options
```
Usage: node-ytdl [options]
Arguments:
string Video's url or search
Options:
-v, --version Display program version
-vn, --novideo Only downloads audio (default: false)
-an, --noaudio Removes the audio from the video (default: false)
-pn, --nopic Downloads the audio without album art (default: false)
-f, --format [mp4 | webm | mp3 | aac | opus] Output format
-o, --output [path] Output directory
-y Overwrite file (default: false)
--forceDir Force output directory creation (default: false)
-th, --threads [number] Max CPU threads to be used
-O, --open Open file when finished (default: false)
-r, --resolution Choose video's resolution
-h, --help Display help
```
### Installation
```
npm install
npm link
```