dony 发表于 2011-7-27 09:40:53

请问采集这个页面使用什么方法,高手指点几句。

var jsonData = { serverSeconds : 1311730051, last_time : 1311717600, path : [{title : "台式机", id : "134", cType : "col"}], count : 280, offset_page : 0, offset_num : 0, list : [ {channel : {title : "台式机",id : "134",cType : "col",url : "http://tech.sina.com.cn/pc/"},title : "双核独显20吋屏 海尔乐趣Q51仅售3999元",url : "http://tech.sina.com.cn/pc/2011-07-27/06001832468.shtml",pic : '',time : 1311717600}, {channel : {title : "台式机",id : "134",cType : "col",url : "http://tech.sina.com.cn/pc/"},title : "i5芯1G独显23吋屏 联想B510一体机售8099元",url : "http://tech.sina.com.cn/pc/2011-07-27/06001832467.shtml",pic : '',time : 1311717600}, {channel : {title : "台式机",id : "134",cType : "col",url : "http://tech.sina.com.cn/pc/"},title : "暑期观影档 3D机型领衔23英寸AIO推荐",url : "http://tech.sina.com.cn/pc/2011-07-27/05291832489.shtml",pic : '',time : 1311715779}, {channel : {title : "台式机",id : "134",cType : "col",url : "http://tech.sina.com.cn/pc/"},title : "双核21.5吋屏 戴尔2205一体电脑3899元",url : "http://tech.sina.com.cn/pc/2011-07-27/05291832485.shtml",pic : '',time : 1311715745};这个页面的地址是抓包抓到的,我不大明白怎么设置能获得列表的url

272070210 发表于 2011-7-27 17:35:48

这种跟正常采集一样的呀。你看看教程就会了

dony 发表于 2011-7-27 17:37:25

谢谢,已经学会了
页: [1]
查看完整版本: 请问采集这个页面使用什么方法,高手指点几句。