1
0
Fork 0
forked from swee/MeowNex

Update search

This commit is contained in:
Swee 2024-10-05 15:04:55 -07:00
parent e6f89cf73b
commit ab1e9f9181

View file

@ -2,7 +2,7 @@ from duckduckgo_search import DDGS
from sys import argv from sys import argv
print("Please stand by...") print("Please stand by...")
request = DDGS().text(" ".join(argv[3:])) request = DDGS().text(" ".join(argv[3:]))
for i in range(0,2): for i in range(0,3):
try: try:
print(request[i]["href"] + " ⁜ " + request[i]["title"] + " ⁜ " + request[i]["body"]) print(request[i]["href"] + " ⁜ " + request[i]["title"] + " ⁜ " + request[i]["body"])
except: except: