diff --git a/zulip_bots/zulip_bots/bots/google_search/google_search.py b/zulip_bots/zulip_bots/bots/google_search/google_search.py index e1fb5083a..4b45a8946 100644 --- a/zulip_bots/zulip_bots/bots/google_search/google_search.py +++ b/zulip_bots/zulip_bots/bots/google_search/google_search.py @@ -18,7 +18,7 @@ def google_search(keywords: str) -> List[Dict[str, str]]: # Gets all search URLs search = soup.find(id="search") assert isinstance(search, Tag) - anchors = search.findAll("a") + anchors = search.find_all("a") results = [] for a in anchors: