1
0
Fork 0
forked from swee/MeowNex
MeowNex/cc/search

10 lines
279 B
Text
Raw Normal View History

2024-10-05 14:57:55 -07:00
from duckduckgo_search import DDGS
from sys import argv
print("Please stand by...")
2024-10-05 14:59:00 -07:00
request = DDGS().text(" ".join(argv[3:]))
2024-10-05 15:04:55 -07:00
for i in range(0,3):
2024-10-05 15:04:18 -07:00
try:
print(request[i]["href"] + " ⁜ " + request[i]["title"] + " ⁜ " + request[i]["body"])
except:
break