The Google Search Scraper uses the ImportXML() function to scraper results. You put the search keyword in a cell and then the ImportXML to fetch the page titles for the query.
=IMPORTXML("https://www.google.com/search?q=Hello+World", "//h3[@class='r']");
For fetching the page links, the XPath would change.
=IMPORTXML(URL, "//h3/a/@href")
Type | Name | Syntax | Description |
Array | ARRAY_CONSTRAIN | ARRAY_CONSTRAIN (input_range, num_rows, ... | Constrains an array result to a specified ... |
Array | BYCOL | BYCOL (array_or_range, LAMBDA) | Groups an array by columns by application ... |
Array | BYROW | BYROW (array_or_range, LAMBDA) | Groups an array by rows by application of ... |
Array | FLATTEN | FLATTEN (range1, [range2,...]) | Flattens all the values from one or more ... |