title: How can I scrape elements from inside divs that im scraping?
body: <p>I am having trouble getting my code to print what i need. I can print a full list of the divs I want to extract no problem, but when I try to extract the spans from inside my divs nothing prints.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>import requests
  from BeautifulSoup import BeautifulSoup
  
  url = “https://reviews.solutionreach.com/vs/reviews/abate_and_ortisi?limit=50”
  
  response = requests.get(url)
  html = response.content
  soup = BeautifulSoup(html)
  
  myReviews = soup.findAll(‘div’, attrs={‘class’: ‘reviewSection’})
  
  for item in myReviews:
  
      try:
            print item.contents[1].findAll(‘span’, attrs{‘class’:’rating’})[0].text
      except:
            pass
      try:
            print item.contents[1].findAll(‘span’, attrs{‘class’:’reviewTitle’})[0].text
      except:
            pass
      try:
            print item.contents[1].findAll(‘span’, attrs{‘class’:’reviewer’})[0].text
      except:
            pass
  </code></pre>
  
  <p>Here is the page I am trying to pull data from</p>
  
  <p><a href="https://reviews.solutionreach.com/vs/reviews/abate_and_ortisi?limit=50" rel="nofollow noreferrer">https://reviews.solutionreach.com/vs/reviews/abate_and_ortisi?limit=50</a></p>