aboutsummaryrefslogtreecommitdiff
path: root/autoAidModules/search_funcs.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-10-08 12:55:28 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2023-10-08 12:55:40 -0600
commit1f582f2bd757abb4bfd415a9ab69310f37cf93ba (patch)
tree72c8b313f33284090c12e24a87cfb84a8ab8f8a0 /autoAidModules/search_funcs.py
parent8e2656e58c72ebf67d45e23779e8dbc7860a94da (diff)
my changes
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"]):