Tried to do it with simple file_get_contents(); I get a list of videos, but I get only 30, the rest are not getting as they are loaded by ajax. I decided to do it through the API, but it’s even worse, it loads either one video or returns 0 altogether.
$chanel = "UChpiJbaOTb8x9zhjGApQ3OQ"; $key = "AIzaSyBEiwHcpz6yA4iEF_V3W_t0Ax2-QlI79ck"; $data = file_get_contents("https://www.googleapis.com/youtube/v3/videos?part=snippet&maxResults=50&id=".$chanel."&key=".$key); echo '<pre>'; print_r($data); echo '</pre>'; Or maybe there is another way to get the entire list of video feed?
Kye worker bye, then change or disconnect.