$urlBefore = "https://www.kugou.com/song/#";
foreach ($urlData as $key => $value) {
$url = $urlBefore . "hash=" . $value["hash"] ."&album_id=".$value['album_id'];
echo $url."
";
$htmlFile =phpQuery::newDocumentFileHTML($url);
$title = pq("#myAudio");
$url0 = pq($title[0])->attr("src");
print($url0."
");
}
//$url0变量为空,网站源码可以获取,但是