title: Empty value from web scraping with python beautiful soup
body: <p>I am trying to scrap this website but having issues extracting the right values. The website is on the prices of Sliver, gold, palladium and platinum. <a href="http://www.lbma.org.uk/precious-metal-prices" rel="nofollow noreferrer">http://www.lbma.org.uk/precious-metal-prices</a> 
  The html of the website is below. </p>
  
  <pre><code>      &lt;div id="header-tabs-content" data-tabs-content="header-tabs"&gt;
          &lt;div class="tabs-panel is-active" id="header-tabs-panel1" 
       role="tabpanel" aria-hidden="false" aria-labelledby="header-tabs-
       panel1-label"&gt;
            &lt;a href="/precious-metal-prices"&gt;
            &lt;p&gt;Gold Price&lt;/p&gt;
            &lt;p&gt;AM: 
                &lt;strong&gt;$
                &lt;span id="daily_gold_am_usd"&gt;1325.40&lt;/span&gt;
                &lt;/strong&gt; &lt;br&gt;
              &lt;em class="update"&gt;Updated: &lt;span 
            id="daily_gold_am_timestamp"&gt;08/03 10:31:00&lt;/span&gt;&lt;/em&gt; &lt;/p&gt;
            &lt;p&gt;PM: 
                &lt;strong&gt;$
                &lt;span id="daily_gold_pm_usd"&gt;1321.00&lt;/span&gt;
                &lt;/strong&gt; &lt;br&gt;
              &lt;em class="update"&gt;Updated: &lt;span 
            id="daily_gold_pm_timestamp"&gt;08/03 15:02:00&lt;/span&gt;&lt;/em&gt; &lt;/p&gt;
              &lt;/a&gt;
  </code></pre>
  
  <p>I am interested to obtain the daily_gold_am_usd of 1325.40 and the daily_gold_pm_usd of 1321.00 from the html data structure below. However the code I attempted after consulting from past posts can't seems to return these values. </p>
  
  <pre><code>#Import packages
  
  import pandas as pd
  import numpy as np
  import requests
  from bs4 import BeautifulSoup
  
  #define url and get html
  
  url = "http://www.lbma.org.uk/precious-metal-prices"
  r=requests.get(url)
  data=r.text
  soup = BeautifulSoup(data,"html.parser")
  
  #Find the object of interest
  
  gold_am_price = soup.find("span", {"id": "daily_gold_am_usd"})
  Au_price_am = gold_am_price.text.strip()
  
  gold_pm_price = soup.find("span", {"id": "daily_gold_pm_usd"})
  Au_price_pm = gold_pm_price.text.strip()
  </code></pre>
  
  <p>Appreciate any help. Thanks guys. </p>