Created
December 30, 2020 20:11
-
-
Save gabecano4308/d6d7ee8cecb0388e94a6100a54603b46 to your computer and use it in GitHub Desktop.
for part 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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'}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment