Unable to scrape the text from a certain LI element
问题 I am scraping this URL. I have to scrape the main content of the page like Room Features and Internet Access Here is my code: for h3s in Column: # Suppose this is div.RightColumn for index,test in enumerate(h3s.select("h3")): print("Feature title: "+str(test.text)) for v in h3s.select("ul")[index]: print(v.string.strip()) This code scrapes all the <li> 's but when it comes to scrape Internet Access I get AttributeError: 'NoneType' object has no attribute 'strip' Because <li> s data under the