title: How to scrape total search results using Python
body: <p>I am a beginner in Python and web scraping but I am really interested. What I want to do is to extract the total number of search results per day. </p>
  
  <p>If you open it, you will see here:</p>
  
  <p>Used Cars for Sale 
  Results 1 - 20 of 30,376</p>
  
  <p>What I want is only the number 30,376. Is there any way to extract it on a daily basis automatically and save it to an excel file please? I have played around some packages in Python but all I got is error messages and something not relevant like below:</p>
  
  <pre><code>from bs4 import BeautifulSoup
  from urllib.request import urlopen
  
  base_url = "..."
  
  def make_soup(url):
      html = urlopen(url).read()
      return BeautifulSoup(html, "lxml")
  
  make_soup(base_url)
  </code></pre>
  
  <p>Can someone show me how to extract that particular number please? Thanks!</p>