Put in order · Python course · Module 4: Data, APIs and Databases

Web Scraping Flow

Arrange the steps of web scraping:

Items to put in order

  • soup = BeautifulSoup(response.text)
  • for el in elements: print(el.text)
  • elements = soup.find_all('h1')
  • response = requests.get(url)

You can check the correct answer by solving this task in the CodeWorlds game.