google search

from googlesearch import search

query = "abc"

for i in search(query,        # The query you want to run

                #tld = 'com',  # The top level domain

                lang = 'en',  # The language

                num = 10,     # Number of results per page

                start = 0,    # First result to retrieve

                stop = None,  # Last result to retrieve

                pause = 2.0,  # Lapse between HTTP requests

               ):

    print(i)