Skip to content

Commit

Permalink
Fixes google search command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Torantulino committed Apr 3, 2023
1 parent b1cc474 commit 6a0a135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get_datetime():

def google_search(query, num_results=8):
search_results = []
for j in browse.search(query, num_results=num_results):
for j in search(query, num_results=num_results):
search_results.append(j)

return json.dumps(search_results, ensure_ascii=False, indent=4)
Expand Down

0 comments on commit 6a0a135

Please sign in to comment.