i had the same reaction, but i looked to see what google's tos was for things like this and i found
https://serpapi.com/ , which apparently has been around for 5 years and also offers paid services for scraping google search. if their homepage is to be believed, there are large companies using their service. i'm very surprised that google hasn't taken steps to block them.