9 lines
279 B
Text
9 lines
279 B
Text
from duckduckgo_search import DDGS
|
|
from sys import argv
|
|
print("Please stand by...")
|
|
request = DDGS().text(" ".join(argv[3:]))
|
|
for i in range(0,3):
|
|
try:
|
|
print(request[i]["href"] + " ⁜ " + request[i]["title"] + " ⁜ " + request[i]["body"])
|
|
except:
|
|
break
|