title: findAll method in BeautifulSoup does not work in Python
body: <p>in this code, i have a problem. When i print the links, it returns empty list. so code does not correct. what is the problem and how can fix it?</p>
  
  <pre><code>from bs4 import BeautifulSoup
  import requests
  
  search = input('Serach for:')
  params = {"q": search}
  r = requests.get('http://www.bing.com/search', params=params)
  
  soup = BeautifulSoup(r.text, 'html.parser')
  results = soup.find("ol", {"id": "b_results"})
  links = results.findAll("li", {"class": "b_algo"})
  
  for item in links:
      item_text = item.find("a").text
      item_href = item.find("a").attrs["href"]
  
      if item_href and item_href:
          print(item_text)
          print(item_href)
  </code></pre>