title: How to extract link's href from a search result?
body: <p>I tried the quote below, but unable to get the results links...</p>
  <pre><code>import requests
  from requests import get
  from bs4 import BeautifulSoup
  
  url = &quot;https://www.immoweb.be/en/search/house-and-apartment/for-sale?countries=BE&amp;page=1&amp;orderBy=relevance&quot;
  
  results = requests.get(url)
  
  soup = BeautifulSoup(results.text, &quot;html.parser&quot;)
  
  links =[]
  
  for el in soup.find_all('li', {'class': 'card__title-link'}):
  
      links.append(el.find('a').get('href'))
  
  links
  []
  </code></pre>