Skip to content

socialAPIS/YoutubeDownloader-GUI-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Downloader

Author Software License Issues Open Forks Stars

PHP Library with Web UI to download videos from YouTube.

Do you like this project? Support it by donating

socialAPIS

  • btc Bitcoin: bc1qkauwj52rr6pelckjfq4htgjl7jvamkq5lklqca

Feel free to fork and contribute if you like this project!

Demo

First enter your youtube link

Chose what you want to download, right click Save As

Not Required

We use the Youtube API, the API it self fetches the Id and Key, you don't need to do that. The API does everything Automatically.

Requirements

You must fit at least this requirements to use YouTube-Downloader:

  • PHP >= 7
  • Composer, if you don't have you can download it here
  • Web server (Apache/Nginx/PHP built-in)

Installation

There are two ways to set up YouTube-Downloader

ZIP Download

  1. Download the code for the newest release: v1.0.0
  2. Unzip the code to your web server
  3. Open the terminal in your server folder and run composer install
  4. Run the server
  5. Open server link in your browser

Git

  1. Clone the code on your server with git clone https://github.com/socialAPIS/YoutubeDownloader-GUI-PHP.git ./

  2. Open your folder and run composer install

  3. Run the server

Usage

You can manually visit a web form (the index.php file), enter a YouTube video id, and get in return a list of links showing the various formats in which that video can be downloaded. You can simply choose "save link as" or the equivalent to download the file.

Second, if you wanna use your interface you can send your GET request to /getVideo/{video_id}

http://example.com/getVideo/{video_id}

The index and front end files are located under /src/FrontEnd Place your front end files only in this folder, the API will do its job

Useful Information

This project uses https://github.com/socialAPIS/YoutubeDownloader

The API first registers in the server and then it returns an Id and Key, if we dont save the id and key the application registers every time we make an request. To fix this we use Cookies and we send the Id and Key, what we got from youtube, to the Browser.

See Example here

License

  • GNU GENERAL PUBLIC LICENSE Version 2 GPL 2

Terms and conditions

  • We reserve the right to block users of this repository who misuse this repository.

Legal

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Google Or Youtube or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk.