Total Pageviews

Sunday 23 June 2024

这里有很多YoutubeDownloader程序可供下载

 https://github.com/search?q=YoutubeDownloader&type=repositories

比如:

https://github.com/Tyrrrz/YoutubeDownloader/releases/download/1.12.2/YoutubeDownloader.win-x64.zip (这个行

https://github.com/DeepakChakravarthy/YoutubeDownloader-FYI/releases/download/V2.0/FYI.DOWNLOAD.EXE (这个不行)

https://github.com/legend2ks/YoutubeDownloader/releases/download/0.3.0/YoutubeDownloader-0.3.0-windows-x64.exe  (这个不行)

https://github.com/Aye10032/YouTubeDownLoader/releases/download/v6.0.0/YouTubeDownLoader_V6.0.0.exe  (这个不行)

https://github.com/harborsiem/YouTubeDownloader  (这个不行)

https://github.com/FahadAhmad2001/YoutubeDownloaderOffline   (这个不行)

https://github.com/ABojo/YouTubeDownloader (这个似乎行,要研究一下。基于nodejs) 

https://github.com/Mahmoudtvs/YoutubeDownloader-Fucken-C-/raw/master/YoutubeDownloader%20With%20C%23.zip (这个不行)

----------------------------------------------------

PHP script for downloading videos from youtube.

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

from https://github.com/socialAPIS/YoutubeDownloader-GUI-PHP

(https://github.com/socialAPIS/YoutubeDownloader-GUI-PHP/raw/master/releases/release%20v1.0.0.zip),这需要自行搭建一个php网站



No comments:

Post a Comment