Coder Social home page Coder Social logo

socialapis / youtubedownloader-gui-php Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 2.0 611 KB

PHP script for downloading videos from youtube

License: GNU General Public License v2.0

PHP 84.06% HTML 15.94%
php ui gui youtubedownloader youtube downloader private-api socialapis

youtubedownloader-gui-php's Introduction

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.

youtubedownloader-gui-php's People

Contributors

socialapis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

youtubedownloader-gui-php's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.