Editing selector in data scraping

I want to scrape data from google according to the search the user makes, that is the scraping topic will vary. how to edit the selector? how can i do this type of scraping?

for example,
i have automated the data scraping by searching a manufacturer name (for example ABB) but i want to make the automation as such that the program will extract data even if i change the name (for example anything other than ABB).

Any solution for this?