title: Getting all Links from a page Beautiful Soup
body: <p>I am using beautifulsoup to get all the links from a page. My code is:</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  
  
  url = 'http://www.acontecaeventos.com.br/marketing-promocional-sao-paulo'
  r = requests.get(url)
  html_content = r.text
  soup = BeautifulSoup(html_content, 'lxml')
  
  soup.find_all('href')
  </code></pre>
  
  <p>All that I get is:</p>
  
  <pre><code>[]
  </code></pre>
  
  <p>How can I get a list of all the href links on that page?</p>