Compare commits

..

No commits in common. "baa3478cecc7c20915c9edd66e4cf352bebd4e70" and "5703ee6fcfa9d4129ba2c0099274f44c0657e1b2" have entirely different histories.

1 changed files with 6 additions and 1 deletions

View File

@ -35,7 +35,12 @@ def google_search(query):
if link is None or title is None:
return None
return link["href"], title.text
sp = title.find("span")
if sp is None:
return None
return link["href"], sp.text
divs = bs.find_all("div", attrs={"class": "g"})