时时商务社区

标题: PHP音乐采集(部分代码) [打印本页]

作者: xgnic    时间: 2018-2-14 09:25

            (.*)[td](.*)[tr][td]/",$makeFile,$songer);#歌手名称
                preg_match("/(.*)[tr][td]/",$songer[1],$songer_name);#歌手名称
                preg_match("/发行公司:(.*)/",$songer[1],$company);#发行公司
                preg_match("/发行时间:(.*) /",$makeFile,$date);#发行时间
                preg_match("/(.*)/",$date[1],$date2);#发行时间
                preg_match("/(.*)/",$date[1],$language);#发行语言
                preg_match("/专辑简介: [td](.*)
/",$makeFile,$descript);#专辑简介
                $songer_name = addslashes($songer_name[1]);         
                $company= addslashes($company[1]);
                $descript= addslashes($descript[1]);
                #取得歌曲ID
                preg_match_all("/download1\.asp\?id=(\d+)&which=BakDownUrl1/",$makeFile,$id2);#歌曲ID
                $num = count($id2[1]);
                for ($jj=0;$jj
            
            
        




欢迎光临 时时商务社区 (http://bbs.4435.cn/) Powered by Discuz! X3.2