Skip to content

anshorfalahi/yt-unduh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Downloader

This project is a YouTube media downloader that allows users to download YouTube videos and audio in various qualities. It provides two versions of the interface: Version 1 and Version 2.

Project Structure

Installation

  1. Clone the repository:

    git clone https://github.com/anshorfalahi/yt-unduh.git
    cd yt-unduh
  2. Install the dependencies:

    npm install
  3. Change the API_KEY in the server.js file to your own API key Neoxr API.

Usage

  1. Start the server:

    npm start
  2. Open your browser and navigate to http://localhost:3000.

Endpoints

  • /api/download_v1: Endpoint for downloading media using Version 1.
  • /api/download_v2: Endpoint for downloading media using Version 2.
  • /api/playlists: Endpoint for fetching YouTube audio by tittle.

Files

  • public/index_v1.html: HTML file for Version 1 of the interface and play audio by tittle.
  • public/index_v2.html: HTML file for Version 2 of the interface.
  • public/script.js: Combined JavaScript file for both versions.
  • public/style.css: Combined CSS file for both versions.
  • server.js: Express server setup and API endpoints.

Features

  • Version 1:

    • Simple interface to input YouTube URL and download media.
    • Displays loading animation while fetching data.
    • Shows download links for available formats.
    • Play audio by tittle.
  • Version 2:

    • Enhanced interface with options to select media type (audio/video) and quality.
    • Displays loading animation while fetching data.
    • Shows download links for available formats.

Example

Version 1

Version 1

Version 2

Version 2

License

This project is licensed under the ISC License.

Author

Anshor Falahi

About

Web Unduhan YT Dengan Api Neoxr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published