title: Now trying to extract just `href` from class with BeautifulSoup and Python 3.
body: <p>I can't seem to get this to work. I have my script going to a site and scraping the data into my <code>info</code> variable but when I am trying to pull out the <code>href</code> from a specific class I am getting <code>None</code> or it just isn't working when I try all kinds of different combos. Where am I screwing up? When I scrape it into my info variable, there is a <code>class='business-name'</code> and the <code>href</code> inside of it. </p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  
  count = 0
  search_terms = "Bars"
  location = "New Orleans, LA"
  url = "https://www.yellowpages.com/search"
  q = {'search_terms': search_terms, 'geo_location_terms': location}
  page = requests.get(url, params=q)
  url_link = page.url
  page_num = str(count)
  searched_page = url_link + '&amp;page=' + str(count)
  page = requests.get(searched_page)
  soup = BeautifulSoup(page.text, 'html.parser')
  info = soup.findAll('div', {'class': 'info'})
  for each_business in info:
      # This is the spot that is broken. I can't make it work! 
      yp_bus_url = each_business.get('class_','business-name')['href']
      print(yp_bus_url)
  </code></pre>