title: BeautifulSoup locating iframe and its attribute
body: <p>I have to get iframe src with beautiful soup</p>
  
  <pre><code>&lt;div class="divclass"&gt;
   &lt;div id="simpleid"&gt;
    &lt;iframe width="300" height="300" src="http://google.com&gt;
  </code></pre>
  
  <p>I could use selenium with code:</p>
  
  <pre><code>iframe1 = driver.find_element_by_class_name("divclass")
  iframe = iframe1.find_element_by_tag_name("iframe").get_attribute("src")
  </code></pre>
  
  <p>but selenium is too slow for this task.</p>
  
  <p>I've been looking for solution here on stackoverflow and tried several codes but always get error 403 while using urllib (changing browser agent is not working, still 403 error) or I get "None" </p>