Create search

This commit is contained in:
Swee 2024-10-05 14:57:55 -07:00
parent 164c9798c5
commit 67657992e6

8
cc/search Normal file
View file

@ -0,0 +1,8 @@
from duckduckgo_search import DDGS
from sys import argv
print("Please stand by...")
request = []
while request == []:
request = DDGS().text(" ".join(argv[3:]))
result = []
print(request[0])