请教高手:对方网站是js生成的html,怎么采集到呀
目标站点:http://live.500wan.com/wanchang.shtml
问题是:
我要采集的是右边的表格数据,但是用右键查看源代码看不到数据,应该是js动态生成的。
这种情况要怎么用火车头采集呀? 在这里了http://live.500wan.com/static/info/bifen/xml/historydata/20101130IndexXml.xml20101130IndexXml.xml数字分别是年月日,个位的补0 没采集过我也不清楚 哈 多谢2楼,高人!
你是怎么找到这个xml的呀? 动态更新的,猜测一下是AJAX取得数据的,找个网页调试工具,如firebug,看一下XHR数据,很容易就找到了
或者慢慢去分析源代码 本帖最后由 zhangxiang 于 2010-12-8 19:22 编辑
<script type="text/javascript" src="/js/fw/boot.js"></script>
<script type="text/javascript" src="/js/info/bifen/esonjq.js"></script>
<script type="text/javascript" src="/js/info/bifen/ESONBoll.js"></script>
<script type="text/javascript" src="/js/info/bifen/wanchang.js"></script>
<div id="play_select" ></div> id
http://live.500wan.com/static/info/bifen/xml/historydata/20101206IndexXml.xml
谢谢高手指导。
页:
[1]