|
|
|
@ -117,7 +117,8 @@ class Search:
|
|
|
|
|
query_refined_text = query
|
|
|
|
|
|
|
|
|
|
# Get the links for the query
|
|
|
|
|
links, all_links = await self.get_links(query, search_scope=search_scope)
|
|
|
|
|
print("The refined search is " + query_refined_text)
|
|
|
|
|
links, all_links = await self.get_links(query_refined_text, search_scope=search_scope)
|
|
|
|
|
if all_links is None:
|
|
|
|
|
raise ValueError("The Google Search API returned an error.")
|
|
|
|
|
|
|
|
|
|