aboutsummaryrefslogtreecommitdiff
path: root/autoAidModules/search_funcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'autoAidModules/search_funcs.py')
-rw-r--r--autoAidModules/search_funcs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/autoAidModules/search_funcs.py b/autoAidModules/search_funcs.py
index e69ed47..38c3c00 100644
--- a/autoAidModules/search_funcs.py
+++ b/autoAidModules/search_funcs.py
@@ -76,10 +76,10 @@ def search_on_forum(forum, query, max_results: int = 5):
"google_domain": "google.com",
"api_key": os.environ.get("SERP_API_KEY", "demo")
}
- #search = GoogleSearch(params)
- #results = search.get_dict()
+ search = GoogleSearch(params)
+ results = search.get_dict()
- results = res # Debugging Data
+ #results = res # Debugging Data
if results["search_metadata"]['status'] == "Success":
data = []
for idx, result in enumerate(results["organic_results"]):