importxml从表中抓取值

时间:2019-11-10 19:37:46

标签: xml xpath web-scraping google-sheets google-sheets-formula

我正在尝试解析网站https://www.investing.com/indices/us-spx-500-futures-technical的一部分TSTOCHRSI(14) 100.000 Overbought是我正在关注的部分,所有人都需要该部分的

老实说,我从来没有尝试过,甚至不知道从哪里开始。我的代码可能非常错误

如果有人可以帮助,那就太好了

=IMPORTXML("https://www.eventbrite.com/d/wa--everett/even ts/","//*[@id="root"]/div/div[2]/div/div/div/div[1]/div/main/section/div/header/main/div[2]/div/div")

1 个答案:

答案 0 :(得分:0)

尝试:

=INDEx(IMPORTHTML(
 "https://www.investing.com/indices/us-spx-500-futures-technical", 
 "table", 2), 4, 2)

0

相关问题