# BeautifulSoup library parses the content of an HTML document, in this case wiz_res wiz_soup = BeautifulSoup(wiz_res.content, 'lxml') # BeautifulSoup's .find() method searches for a tag and specified attributes, # returning the first match wiz_per_game = wiz_soup.find(name = 'table', attrs = {'id' : 'per_game'})