Recently, I wanted to collect the names of some resource websites, so I found an interesting one while collecting. The website opposite was loaded using ajax technology, so I found the API, so I just wrote the code to store it in the database. I will back up the code here and will use it later.
<?php
$date = file_get_contents('网站地址');
$date = json_decode($date,true);
print_r($date);
die;
?>