1

I've tried to get table's data from https://www.set.or.th/th/market/index/set/agro/agri to Google Sheets

=IMPORTHTML("https://www.set.or.th/th/market/index/set/agro/agri","table",1)

Changing list to table and still unable to get the data. My expected output in Sheets is

EE         bunch of numbers
GFPT       bunch of numbers
LEE        bunch of numbers
.          bunch of numbers
.          bunch of numbers
VPO        bunch of numbers
Alphatio
  • 47
  • 5

1 Answers1

0

I'm writing this answer as a community wiki, since the issue was resolved from the comments section, in order to provide a proper response to the question.

The content you're trying to extract, loads with JavaScript and IMPORT functions can’t extract content that loads with JavaScript. You can check this article.

If you click on the ‘Lock’ icon beside the browser’s address bar, select ‘Site settings’ and set JavaScript to ‘Block’. Reload the page and as you can see in the screenshot below, the site needs JavaScript enabled to load certain content.

enter image description here

Lorena Gomez
  • 1,946
  • 2
  • 4
  • 11