摘要:        
根据前几篇的博文:curl数据采集系列之单页面采集函数get_htmlcurl数据采集系列之多页面并行采集函数get_htmlscurl数据采集系列之正则处理函数get_matches可以得到了单页面和多页面的采集功能 如下:1 $urls = array('http://www.baidu.com','http://www.hao123.com');2 $htmls = get_htmls($urls);3 foreach($htmls as $html){4 $matches = get_matches('!<a[^<]+</a&g    阅读全文
posted @ 2013-04-28 15:03
黑睫毛膏
阅读(409)
评论(2)
推荐(0)
        
 
                    
                     
                    
                 
                    
                 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号