I am trying to extract the country area from example website. And I got following errors. I am using python version 3.6
from bs4 import BeautifulSoup url = 'http://example.webscraping.com/places/default/view/Australia-14' html = download(url) soup = BeautifulSoup(html) # locate the area row tr = soup.find(attrs={'id':'places_area_row'}) td = tr.find(attrs={'class':'w2p_fw'}) #locate the date elements area = td.text #extract the text form the data element print (area)Error: "NameError: name 'download' is not defined"