This repository contains the backend server for the YouTube Video Downloader project. The server is built using Node.js and Express, and it utilizes ytdl-core
to fetch video details from YouTube.
- Repository: MP4-MP3-Download-Server
- Technology Stack:
- Node.js
- Express
- ytdl-core
Fetches available formats and details for a given YouTube video ID.
-
Parameters:
videoId
(string): The ID of the YouTube video.
-
Response:
formats
(array): List of available video formats.bestQuality
(object): Information about the best quality format (e.g., 1440p).
- Node.js (version 14 or higher)
- npm (Node Package Manager)
-
Clone the repository:
git clone https://github.com/amliyanage/MP4-MP3-Download-Server-.git cd MP4-MP3-Download-Server-
-
Install dependencies:
npm install
-
Start the server:
npm start
The server will be running on http://localhost:3001.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to open issues or submit pull requests if you have improvements or suggestions. Please follow the contributing guidelines if applicable.
For any questions or inquiries, please reach out to ashenmliyanage@gmail.com.