I am trying to import a number of texts into google sheets, from this website: https://www.nrl.com/draw/nrl-premiership/2021/round-10/sharks-v-rabbitohs/
The first one I'm trying to do is import team names into sheets but everything I do comes up with #N/A: Imported content is empty error. I have tried all of the following:
=IMPORTXML("https://www.nrl.com/draw/nrl-premiership/2021/round-10/sharks-v-rabbitohs/", "//*[@id='match-team__info match-team__info--home']")
=IMPORTXML("https://www.nrl.com/draw/nrl-premiership/2021/round-10/sharks-v-rabbitohs/", "//div[contains(@class, 'match-team__info match-team__info--home')]")
=IMPORTXML("https://www.nrl.com/draw/nrl-premiership/2021/round-10/sharks-v-rabbitohs/", "//p[contains(@class, 'match-team__info match-team__info--home')]")
=IMPORTXML("https://www.nrl.com/draw/nrl-premiership/2021/round-10/sharks-v-rabbitohs/", "//*[@id='match-team__info match-team__info--home']/p")
=IMPORTXML("https://www.nrl.com/draw/nrl-premiership/2021/round-10/sharks-v-rabbitohs/", "//div[contains(@class, 'match-team__info match-team__info--home')]/p")
Generally I am trying to import things from the page such as: team name, position and statistics below
If anyone could help shed some light on what I am doing wrong I would appreciate it greatly... cheers