i am doing webscraping so this error is occuring kindly check this out?

Question:

TypeError                                 Traceback (most recent call last) <ipython-input-21-b281566ea133> in <module>
----> 1 desc = soup.findall("td",{"class":"views-field views-field-search-api-excerpt views-field-field-api-description hidden-xs visible-md visible-sm col-md-8"})

TypeError: 'NoneType' object is not callable
Asked By: akhil s vijay

||

Answers:

You’re using beautifulsoup version 3 & it has stopped receiving updates in 2012; it is severely out of date now. I strongly urge you to upgrade:

pip install beautifulsoup4

and

from bs4 import BeautifulSoup

The Element.find_all() method is available in latest major version. Use it instead of Element.findall() and try again.

Answered By: Arman
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.