python - 'NoneType' object is not callable using 'find_all' in BeautifulSoup -
Here's my code using find_all, but this is my code. Works great with: (): To get beautiful suits R = requests from beautiful soup imports to import. (URL_DEFINED) Print Rustusodod Soup = Beautiful Soup (Rtext) Print soup.fund_all ('ul') What I found: Tracebacks (Most recent call end): File "scraper.py", line 1 9, & lt; Module & gt; Print soup.find_all ('ul') TypeError: The 'NoneType' object is not worth the corner It seems that you are using Sundersup version 3, in which a slightly different naming convention is used, such as: .findAll , while SunderSupo 4 standardized naming, like more PEP8, Such as: .find_all (but retains the old naming for previous compatibility) Note that soup ('ul') is equal to both search for all . To download and install, install pipes PrettySpeed 4 . Then to change your import: import from bs4 BeautifulSoup Then you are good go.