IMPORTHTML or IMPORTXML to collect data from a site

て烟熏妆下的殇ゞ 提交于 2020-01-24 23:57:10

问题


I have made several attempts to collect the data within this table:

The simple ways of the two functions I've commented on, I've tried, but not succeeded.

I would like to if anyone knows any other way to collect this data in Google Sheets.

Site Link:
https://www.onlinebettingacademy.com/stats/team/brazil/operrio-pr/13217#tab=t_squad


回答1:


the table you want to scrape is under JavaScript control, therefore, it can't be scraped.

all you can get from that site into Google Sheets is:

=ARRAY_CONSTRAIN(IMPORTDATA(
 "https://www.onlinebettingacademy.com/stats/team/brazil/operrio-pr/13217#tab=t_squad&team_id=13217"); 10000; 10)


来源:https://stackoverflow.com/questions/58945008/importhtml-or-importxml-to-collect-data-from-a-site

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!