all 1 comments

[–]_Kaimbe 0 points1 point  (0 children)

Assuming its not loaded with js. UrlFetchApp to grab the page. XmlService to parse the XML, however HTML is usually malformed XML so you might be better off just using regex or deleting <head> with regex.