时间:2021-07-01 10:21:17 帮助过:3人阅读
$s=file_get_contents('http://www.tudou.com/listplay/Icl7UAlbQZs/6YFO9qJvtts.htm'); preg_match_all('/iid:(\d+)\s+,kw:"(.*?)"\s+.*?icode:"(.*?)"/s',$s,$matches); foreach($matches[1] as $k=>$v){ $name=iconv('GB2312','utf-8',$matches[2][$k]); echo "$name
"; }