Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

this script is unable to download some of the youtube videos #440

Open
papputest opened this issue Apr 28, 2020 · 1 comment
Open

this script is unable to download some of the youtube videos #440

papputest opened this issue Apr 28, 2020 · 1 comment

Comments

@papputest
Copy link

Description

actually this script is working very well but unable to download some of youtube videos

Steps to Reproduce

Please include the direct url to the YouTube video.

  1. i copied this url "https://www.youtube.com/watch?v=eTpu5CF2VZg" in search box
  2. then click the start downlod button
  3. and then the following errors appears:

Expected behavior: It should do without errors

**Actual behavior:**There the following message appears:

Notice: Undefined index: url in xampp\htdocs\YouTube-Downloader-master\src\Provider\Youtube\VideoInfo.php on line 308

Fatal error: Uncaught Exception in xampp\htdocs\YouTube-Downloader-master\src\Http\CurlClient.php:203 Stack trace: #0 xampp\htdocs\YouTube-Downloader-master\src\Http\CurlClient.php(113): YoutubeDownloader\Http\CurlClient->getHttpResponseFromCurl(Resource id #52, Array) #1 xampp\htdocs\YouTube-Downloader-master\src\Http\CurlClient.php(76): YoutubeDownloader\Http\CurlClient->sendRequest(Object(YoutubeDownloader\Http\Request)) #2 xampp\htdocs\YouTube-Downloader-master\src\Application\ControllerAbstract.php(105): YoutubeDownloader\Http\CurlClient->send(Object(YoutubeDownloader\Http\Request), Array) #3 xampp\htdocs\YouTube-Downloader-master\src\Application\ResultController.php(174): YoutubeDownloader\Application\ControllerAbstract->getSize('', Object(YoutubeDownloader\Config), Object(YoutubeDownloader\Toolkit)) #4 xampp\htdocs\YouTube-Downloader-master\src\Application\App.php(83): YoutubeDownloader\Application\ResultController->execute() #5 xampp\htdocs\YouTube-Downloader-master\getvideo.php(23): YoutubeDo in xampp\htdocs\YouTube-Downloader-master\src\Http\CurlClient.php on line 206

Version

Youtube Downloader 0.11-dev

Additional Information

i am running this code on windows , and the server i am using is xampp

@aziel07165
Copy link

The same thing happens to me, I think they are using the old youtube api.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants