【发布时间】:2014-11-10 03:13:07
【问题描述】:
我是新手,在我的一生中,我无法从http://www.walmart.ca/en/ip/large-kick-fetch-ball/6000105718024获得“在线有货”或“在线无货”的文字
我尝试了多种变体,但都没有成功。 不应该是 =importxml("url","//span[@class='msg']") 吗?
这也不适用于 Excel 的 xpathonurl 函数(一个插件)
这里是html源代码:
<div class="product-avail wgrid-3w6 wgrid-2w4 marg-r-0">
<div class="statuses">
<div class="shipping status">
<span class="icon-status checkmark"></span>
<span class="msg">In stock online</span>** </div>
<div class="shipping-alert status">
<span class="icon-status arrow" style="display: inline;"></span>
<span class="msg"><span class="edd">
<a href="javascript:void(0)">See estimated delivery date</a></span></span> </div> </div> </div>`
【问题讨论】:
标签: html excel xpath google-sheets