/yt-downloader-node

A simple YouTube video downloader API built using Node.js

Primary LanguageJavaScript

YouTube Video Downloader API

This project is a simple YouTube video downloader API built using Node.js, Express, and the ytdl-core package. It provides endpoints to download YouTube videos by URL and fetch video details including title, thumbnail, and available formats.

Features

  • Download YouTube Videos: Download videos by providing a YouTube URL.
  • Fetch Video Details: Get video title, thumbnail, and available formats before downloading.

Prerequisites

  • Node.js (v14.x or higher recommended)
  • npm (v6.x or higher recommended)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/youtube-downloader.git
    cd youtube-downloader
    
  2. Install dependencies:

    npm install
  3. Usage:

    npm start