Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/symfony/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Web scraping ImportXML返回导入的内容为空_Web Scraping_Google Sheets_Google Sheets Importxml - Fatal编程技术网

Web scraping ImportXML返回导入的内容为空

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公式中写些什么来获得我要寻找的两个值,

我试图从网站上导入两个值,其中

最佳性能。平均值96.2

性能中值。平均值:83.4

我试着用这个公式来达到最好的效果。平均值:

=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不幸的是没有。