html源代码
<script id="wuoteTmp" type="text/x-dot-template">
<div class="price_bar {{=updown}}">
<div class="price"><h3>{{=price}}</h3><label></label></div>
</script>
在chrom F12 后 Elements能看到数据内容是<div class="price_bar up"> ,其中“up” 就是{{=updown}}值内容,但不知道怎么爬取得到这个数据值,用过network抓取不到!!!请各位高手们小哥哥小姐姐们帮忙,小弟脑想头发都白了!小弟10分感谢!!!!
搞定了。是这样的把,这个需要看代码的。
1.找到后端的借口,找到那个字段,直接获取
2.selenium
给个网址啊