title: BeautifulSoup Number Extraction
body: <p>``So im trying to get the degrees from this weather site. But i t keeps returning a blank answer. This is my code
  <a href="https://i.stack.imgur.com/xLvBQ.png" rel="nofollow noreferrer">Link to a screenshot</a></p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  
  # -----------------------------get site info------------------------------- #
  
  
  URL = "https://www.theweathernetwork.com/ca/hourly-weather-forecast/ontario/oakville"
  request = requests.get(URL)
  # print(request.content)
  
  # ----------------------parse site info---------------- #
  
  soup = BeautifulSoup(request.content, 'html5lib')
  
  #print(soup.prettify().encode("utf-8"))
  
  weatherdata = soup.find('span', class_='temp')
  
  print(weatherdata)
  </code></pre>