The Open University

Making Code toolbox

Happy making!

Link to the Python Notebook with the code of today

In Azure

You will need to login with

In Colab

Url for live scraping

Challenge #1

Challenge #2

Challenge #3

import requests
from bs4 import BeautifulSoup

response = requests.get('')

soup = BeautifulSoup(response.content, "html.parser")
drinks = soup.find(class_="drinks")
coffees = drinks.findAll("strong")
for coffee in coffees: