In Google Apps Script, the UrlFetchApp service is pivotal for downloading web content.
UrlFetchApp
Google Apps Script doesn’t have a built-in method for parsing HTML.
In Google Apps Script, the primary way to send an HTTP request is by using the UrlFetchApp service.
In Google Apps Script, to send an HTTP request with basic authentication, you utilize the UrlFetchApp service combined with a base64-encoded authorization header.