I am using norkunas/youtube-dl-php package in my Laravel application to sync youtube videos in my platform. But recently it was not sysncing videos. When i debug this i got this error
here is the piece of code i am using
$data = $youtubeDL->download(
Options::create()
->skipDownload(true)
->downloadPath(storage_path('app/temp/yt/' . $userId))
->output('%(id)s.json')
->url($channelUrl)
->cookies(storage_path('app/cookies.txt'))
);
Tried to find solution but didn’t get any proper solution. I tried adding cookies as well but it still not working.
Please suggest on this thanks.