title: Python Beautifulsoup img tag parsing
body: <p>I am using beautifulsoup to parse all img tags which is present in 'www.youtube.com'</p>
  
  <p>The code is</p>
  
  <pre><code>import urllib2
  from BeautifulSoup import BeautifulSoup
  page = urllib2.urlopen('http://www.youtube.com/')
  soup = BeautifulSoup(page)
  tags=soup.findAll('img')
  </code></pre>
  
  <p>But am not getting all img tags.The getting img tags are invalid also.</p>
  
  <p>The img tags which i got after parsing is different from the page source img tags. Some attributes are missing. </p>
  
  <p>I need to get all video img tags in youtube.com</p>
  
  <p>Please help</p>