Using importxml in google script - unable to display content of xpath

Viewed 31

I would like to get the contents of the beer menu displayed in this website:

https://untappd.com/v/titans-craft-beer-bar-and-bottle-shop/5286704

but when I use importxml I get a "could not fetch URL warning:

I tried =importxml(A8, "//*[(@id='section_269017548')]//text()")

=importxml(A8, "//ul[@class='menu-section-list']/b/text()") (where A8 is the URL of the page)

but I am not having luck.. Any advice on how to get all the

  • included in the ul class="menu-section-list" ? enter image description here

    enter image description here

  • 0 Answers
    Related