python-scraping
python-scraping copied to clipboard
findAll vs find_all
the text uses find_all
Using this BeautifulSoup object, you can use the find_all function...
where as the example uses findAll instead:
= bs.findAll('span', {'class':'green'})
for name in nameList:
print(name.get_text())
which doesn't make a difference when the code is run, but the code example and text should remain consistent with one-another