import re

import urllib.request

#https://www.weather-forecast.com/places/Dublin/forecasts/newest

metropolis =enter(“Enter your metropolis:”)
url = “https://www.weather-forecast.com/places/”+ metropolis +”forecasts/newest”

information = urllib.request.urlopen(url).learn()
data1 = information.decode(“utf-8”)

print(data1)

Sean is a brand new contributor to this website. Take care in asking for clarification, commenting, and answering.
Try our Code of Conduct.

1