There is a code that displays a list of video titles on the YouTube channel:
<?php $content=file_get_contents('https://www.youtube.com/user/Fletcher2008/videos'); $content=preg_replace('/[\s]+/',' ',$content); $content=preg_replace('/"/','',$content); $content=preg_replace('/href=\/watch\?v=/',"\n",$content); $content=preg_replace('/<(span|img)[^>]*>/','',$content); $content=preg_replace('/<\/(span|img)>/','',$content); $content=preg_replace('/[\s]*class=[^>^\n]*>/','>',$content); $content=preg_replace('/>[\s]*/','>',$content); $content=preg_replace('/[\s]*</','<',$content); $content=preg_replace('/<button.*/','',$content); $content=preg_replace('/><\/a>/','\',\'',$content); $content=preg_replace('/<\/a>.*/','',$content); $lines = preg_split('/\n/', $content); $count=0; foreach($lines as $line){ if($count==0) { $count=1; } else if($count==1) { $sql.="('".$line."',"; $count=2; } else if($count==2) { $line=preg_replace('/^[^>]*>/','',$line); $sql.="'".$line."'),\n"; $count=1; echo $line."<br>"; } } ?> Tell me how to display more links to these videos?