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.
- Download YouTube Videos: Download videos by providing a YouTube URL.
- Fetch Video Details: Get video title, thumbnail, and available formats before downloading.
- Node.js (v14.x or higher recommended)
- npm (v6.x or higher recommended)
-
Clone the repository:
git clone https://github.com/yourusername/youtube-downloader.git cd youtube-downloader
-
Install dependencies:
npm install
-
Usage:
npm start