title: How do I extract attributes from xml tags using Beautiful Soup?
body: <p>I am trying to use Beautiful Soup in Django to extract xml tags. This is a sample of the tags that I'm using:</p>
  
  <pre><code>&lt;item&gt;
  &lt;title&gt;
  Title goes here
  &lt;/title&gt;
  &lt;link&gt;
  Link1 goes here
  &lt;/link&gt;
  &lt;description&gt;
  Description goes here
  &lt;/description&gt;
  &lt;media:thumbnail url="Image URL goes here" height="222" width="300"/&gt;
  &lt;pubDate&gt;Thu, 15 Sep 2016 13:24:48 EDT&lt;/pubDate&gt;
  &lt;guid isPermaLink="true"&gt;
  Link2 goes here
  &lt;/guid&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p>I have obtained strings of title,link and description tags. But I'm having trouble obtaining the URL from <code>media:thumbnail</code> tag. </p>
  
  <p>This is the snippet where I got the values of rest of the tags:</p>
  
  <pre><code>soup=BeautifulSoup(urlopen(xmllink),'xml')
  for items in soup.find_all('item'):
      listTitle.append(items.title.get_text())
      listURL.append(items.link.get_text())
      listDescription.append(items.description.get_text())
  </code></pre>
  
  <p>Help</p>