from duckduckgo_search import DDGS from sys import argv print("Please stand by...") request = DDGS().text(" ".join(argv[3:])) print(request[0]["href"] + " - " + request[0]["title"] + " - " + request[0]["body"])