python-scraping icon indicating copy to clipboard operation
python-scraping copied to clipboard

findAll vs find_all

Open wickedjargon opened this issue 7 years ago • 0 comments

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

wickedjargon avatar Apr 11 '18 11:04 wickedjargon