From 289bc770f243fa26a9173f94ae511ea7aaaaabea Mon Sep 17 00:00:00 2001 From: Swee Date: Sat, 5 Oct 2024 14:59:00 -0700 Subject: [PATCH] Update search --- cc/search | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cc/search b/cc/search index 31a339d..f1ad242 100644 --- a/cc/search +++ b/cc/search @@ -1,8 +1,5 @@ from duckduckgo_search import DDGS from sys import argv print("Please stand by...") -request = [] -while request == []: - request = DDGS().text(" ".join(argv[3:])) -result = [] +request = DDGS().text(" ".join(argv[3:])) print(request[0]) \ No newline at end of file