Athlon1600 / youtube-downloader

:tv: PHP based alternative to youtube-dl and yt-dlp. Active and frequently updated! :star:
https://unblockvideos.com/
MIT License
805 stars 316 forks source link

Can not request cachedGet($player_url); when try to download youtube video #177

Closed min3rd closed 1 year ago

min3rd commented 1 year ago

I got this error when trying to download video

[2023-07-05 08:35:11] local.ERROR: YouTube\Responses\HttpResponse::construct(): Argument #1 ($response) must be of type Curl\Response, bool given, called in \vendor\athlon1600\youtube-downloader\src\YouTubeDownloader.php on line 155 {"exception":"[object] (TypeError(code: 0): YouTube\Responses\HttpResponse::construct(): Argument #1 ($response) must be of type Curl\Response, bool given, called in \vendor\athlon1600\youtube-downloader\src\YouTubeDownloader.php on line 155 at \vendor\athlon1600\youtube-downloader\src\Responses\HttpResponse.php:17) [stacktrace] \vendor\athlon1600\youtube-downloader\src\YouTubeDownloader.php(155): YouTube\Responses\HttpResponse->__construct(false) \app\Console\Commands\Task_YoutubeCommand.php(249): YouTube\YouTubeDownloader->getDownloadLinks('c2EMyx1ZMds')

My PHP version is 8.0.25