How to get a news list

here is a multi-dimensional json data, which can be converted into an array of php through json_decode. How to traverse the news headlines?
https://www.baidu.com/s?wd=.

Nov.11,2021

$json = file_get_contents('http://www.baidu.com/s?wd=%E5%AE%B6%E6%9C%89%E7%BD%91&pn=50&rn=50&tn=json');
$json = json_decode($json,TRUE);
$entry = $json['feed']['entry'];
foreach($entry as $k => $v)
{
    if(!empty($v))
    {
        var_dump($v['title']);
    }
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b357cf-2b7e4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b357cf-2b7e4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?