title: Collect links from div class
body: <p>I have this part in code for collecting links:</p>
  
  <pre><code>def Get_Links():
  r = requests.get(main).text
  soup = BeautifulSoup(r, 'html.parser')
  links = []
  for item in soup.findAll("a", {'class': 'ap-area-link'}):
      links.append(item.get("href"))
  return links
  </code></pre>
  
  <p>This works if web page source is:</p>
  
  <pre><code>&lt;a class="ap-area-link" href="https://www.webpage.com/product/item/"&gt;Item&lt;/a&gt;
  </code></pre>
  
  <p>What if web page source code is:</p>
  
  <pre><code>&lt;div class="large-4 medium-4 columns"&gt;
       &lt;h5 class="show-for-small"&gt;Product Name&lt;/h5&gt;
        &lt;a href="https://webpage.com/products/item/"&gt;Item&lt;/a&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>I have tried:</p>
  
  <pre><code>def Get_Links():
      r = requests.get(main).text
      soup = BeautifulSoup(r, 'html.parser')
      links = []
      for item in soup.findAll("div", {'class': 'large-4 medium-4 columns'}):
          links.append(item.get("href"))
      return links
  </code></pre>
  
  <p>But my list of links is empty then?</p>