尝试从coingecko第二页获取加密货币交易所列表到我的谷歌表中。
得到如下结果:
Tokenize
Bibox
Vebitcoin
...
试着用它来做。
IMPORTXML("https://www.coingecko.com/en/exchanges?page=2", "//*[contains(text(),' exchange')]")
结果,得到错误:
Imported content is empty.
尝试从coingecko第二页获取加密货币交易所列表到我的谷歌表中。
得到如下结果:
Tokenize
Bibox
Vebitcoin
...
试着用它来做。
IMPORTXML("https://www.coingecko.com/en/exchanges?page=2", "//*[contains(text(),' exchange')]")
结果,得到错误:
Imported content is empty.
这个修改后的xpath怎么样?
//span/a[contains(@href,'/en/exchanges/')]
和
//span[@class='pt-2 flex-column']/a[contains(@href,'/en/exchanges/')]
=IMPORTXML(A1,"//span/a[contains(@href,'/en/exchanges/')]")
https://www.coingecko.com/en/exchanges?page=2放在单元格“A1”中。Tokenize但在这种情况下,似乎 和 的值Bibox不Vebitcoin包括在内。