jeckman / YouTube-Downloader

PHP script for downloading videos from youtube; also parsing youtube feed into RSS enclosures for podcatchers
GNU General Public License v2.0
892 stars 477 forks source link

Uncaught exception 'Exception' with message '<url> malformed' #436

Open dribgnikcom opened 4 years ago

dribgnikcom commented 4 years ago

I am getting the following error with this video:

https://www.youtube.com/watch?v=r9UfGtM-kHc

This is with the latest 0.11-dev zip downloaded and manually extracted.

[Mon Mar 02 14:30:22.433837 2020] [:error] [pid 838] [client 192.168.2.173:3045] PHP Notice: Undefined index: url in /home/nanopi/www/YouTube-Downloader/src/Provider/Youtube/VideoInfo.php on line 308, referer: http://192.168.2.237:12323/YouTube-Downloader/[Mon Mar 02 14:30:22.447135 2020] [:error] [pid 838] [client 192.168.2.173:3045] PHP Notice: Undefined index: url in /home/nanopi/www/YouTube-Downloader/src/Provider/Youtube/VideoInfo.php on line 308, referer: http://192.168.2.237:12323/YouTube-Downloader/[Mon Mar 02 14:30:22.449486 2020] [:error] [pid 838] [client 192.168.2.173:3045] PHP Fatal error: Uncaught exception 'Exception' with message '<url> malformed' in /home/nanopi/www/YouTube-Downloader/src/Http/CurlClient.php:203\nStack trace:\n#0 /home/nanopi/www/YouTube-Downloader/src/Http/CurlClient.php(113): YoutubeDownloader\\Http\\CurlClient->getHttpResponseFromCurl(Resource id #53, Array)\n#1 /home/nanopi/www/YouTube-Downloader/src/Http/CurlClient.php(76): YoutubeDownloader\\Http\\CurlClient->sendRequest(Object(YoutubeDownloader\\Http\\Request))\n#2 /home/nanopi/www/YouTube-Downloader/src/Application/ControllerAbstract.php(105): YoutubeDownloader\\Http\\CurlClient->send(Object(YoutubeDownloader\\Http\\Request), Array)\n#3 /home/nanopi/www/YouTube-Downloader/src/Application/ResultController.php(174): YoutubeDownloader\\Application\\ControllerAbstract->getSize('',Object(YoutubeDownloader\\Config), Object(YoutubeDownloader\\Toolkit))\n#4 /home/nanopi/www/YouTube-Downloader/src/Application/App.php(83): YoutubeDownloader\\Application\\ResultController->execute()\n#5 /home/nanopi/www/YouTube-Downloader/getvideo.php(23): YoutubeD in /home/nanopi/www/YouTube-Downloader/src/Http/CurlClient.php on line 206, referer: http://192.168.2.237:12323/YouTube-Downloader/

Thanks

dungla2011 commented 4 years ago

I have the same problem!