Update search

This commit is contained in:
Swee 2024-10-05 15:01:21 -07:00
parent 289bc770f2
commit be95a53f71

View file

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