也想出现在这里?点击联系我~ 复制代码 代码如下: $nodes = @$xpath->query("//*[@id='main_pr']/img/@src"); $prurl = $nodes->item(0)->nodeValue;