Web scraping ImportXML返回导入的内容为空
我试图从网站上导入两个值,其中 最佳性能。平均值96.2 及 性能中值。平均值:83.4 我试着用这个公式来达到最好的效果。平均值:Web scraping ImportXML返回导入的内容为空,web-scraping,google-sheets,google-sheets-importxml,Web Scraping,Google Sheets,Google Sheets Importxml,我试图从网站上导入两个值,其中 最佳性能。平均值96.2 及 性能中值。平均值:83.4 我试着用这个公式来达到最好的效果。平均值: =importxml("https://classic.warcraftlogs.com/character/eu/firemaw/umog", "//*[@id'top-box']/div[2]/div/b)" 但它返回的导入内容为空错误。平均性能中值也是如此 我在importxml公式中写些什么来获得我要寻找的两个值,
=importxml("https://classic.warcraftlogs.com/character/eu/firemaw/umog", "//*[@id'top-box']/div[2]/div/b)"
但它返回的导入内容为空错误。平均性能中值也是如此
我在importxml公式中写些什么来获得我要寻找的两个值,这超出了我的能力范围?原始:
"//*[@id="top-box"]/div[2]/div/b)"
正确:
"//*[@id='top-box']/div[2]/div/b"
转换为“”,此after/b不存在
但即使调整误差也不起作用
你的案例和我在另一个页面上的案例一样,无法通过导入功能导入此数据,因为如果你想要刮取的数据在JavaScript控制下,因此无法刮取
所以没有办法解决吗?@omakzulu不幸的是没有。