Calmcode - gazpacho: soup

Using the "soup" in Gazpacho

1 2 3 4 5 6

Once you've downloaded a website you'll need to parse it for the information that you're after. For that we need some extra tools from gazpacho. In particular we'll need to import the Soup class.

url = "https://pypi.org/project/pandas/#history"

from gazpacho import get, Soup
html = get(url)
soup = Soup(html)
soup.find("a", {"class": "card"})