这两个xml请求有何不同?
我最近发现了一段代码,可以帮助我将实时价格输入谷歌表单,并希望在此基础上进一步扩展:这两个xml请求有何不同?,xml,google-sheets,incapsula,Xml,Google Sheets,Incapsula,我最近发现了一段代码,可以帮助我将实时价格输入谷歌表单,并希望在此基础上进一步扩展: =min(importxml("http://shop.tcgplayer.com/productcatalog/product/show?IsProductNameExact=true&ProductName="&A5, "//div[contains(@class, 'scCardContent')]/span[@*] | //div[contains(@class, 'priceGuide
=min(importxml("http://shop.tcgplayer.com/productcatalog/product/show?IsProductNameExact=true&ProductName="&A5, "//div[contains(@class, 'scCardContent')]/span[@*] | //div[contains(@class, 'priceGuidePricePointDiv')][1]//tr[2]/td[contains(@class, 'priceGuidePricePointData')][1]"))
但是,当我在脚本编辑器中编写xml请求时,我无法成功地发出请求
var xml = UrlFetchApp.fetch(tcgUrl).getContentText();
我尝试了几种不同的方法,但总是被Incapsula堵塞
请求失败。Incapsula事件ID:4900036025449935-58971335958258649157
您应该利用他们的API,而不是直接删除站点,因为这是访问定价数据的首选方式
您应该利用他们的API,而不是直接删除网站,因为这是访问定价数据的首选方式
好的,当然可以,但它仍然没有解释这两种xml用法是如何不同的。好的,当然可以,但它仍然没有解释这两种xml用法是如何不同的。