简体   繁体   English

IMPORTXML Google 资源位于 url

[英]IMPORTXML Google resource at url

I want to import a XML feed from one of our suppliers but Google sheets gives the error resource at url content exceeded maximum size.我想从我们的供应商之一导入 XML 提要,但 Google 表格给出了 url 内容超出最大大小的错误资源。 Is there a script to circumvent this issue?有没有解决这个问题的脚本? I checked several threads but didn't see a solution.This is the xml feed我检查了几个线程,但没有看到解决方案。这是xml 提要

The feed is automatically refreshed twice per day.提要每天自动刷新两次。 Is there a way to pull the new data as well twice per day?有没有办法每天两次提取新数据?

try:尝试:

const IMPORTALL = url => Utilities.parseCsv(UrlFetchApp.fetch(url).getContentText());

=IMPORTALL("https://www.pfconcept.com/portal/datafeed/stockfeed_9019cb0e_1bfc_b786_e511_cb8235772846_v2.1.xml")

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM