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
895 stars 474 forks source link

HTTP ERROR 500 #434

Open sarusadgac opened 4 years ago

sarusadgac commented 4 years ago

When I click "Start Download" button on index page, I'm getting "HTTP ERROR 500"

error_log content; ``Next RuntimeExce in /home/sjypon086whw/public_html/src/Http/CurlClient.php on line 206 [22-Feb-2020 18:31:23 UTC] PHP Notice: Undefined index: url in /home/sjypon086whw/public_html/src/Provider/Youtube/VideoInfo.php on line 308 [22-Feb-2020 18:31:23 UTC] PHP Fatal error: Uncaught Exception in /home/sjypon086whw/public_html/src/Http/CurlClient.php:203 Stack trace:

0 /home/sjypon086whw/public_html/src/Http/CurlClient.php(113): YoutubeDownloader\Http\CurlClient->getHttpResponseFromCurl(Resource id #52, Array)

1 /home/sjypon086whw/public_html/src/Http/CurlClient.php(76): YoutubeDownloader\Http\CurlClient->sendRequest(Object(YoutubeDownloader\Http\Request))

2 /home/sjypon086whw/public_html/src/Application/ControllerAbstract.php(105): YoutubeDownloader\Http\CurlClient->send(Object(YoutubeDownloader\Http\Request), Array)

3 /home/sjypon086whw/public_html/src/Application/ResultController.php(174): YoutubeDownloader\Application\ControllerAbstract->getSize('', Object(YoutubeDownloader\Config), Object(YoutubeDownloader\Toolkit))

4 /home/sjypon086whw/public_html/src/Application/App.php(83): YoutubeDownloader\Application\ResultController->execute()

5 /home/sjypon086whw/public_html/getvideo.php(23): YoutubeDownloader\Application\App->runWithRoute('results')

6 {main}``