Ich verwende diesen Feed http://feeds.bbci.co.uk/news/rss.xml und möchte alle Medien: Vorschaubilder Einträge. I.e. Alle BilderWie bekomme ich Bild von diesem BBC-Feed mit Python und Universal Feed Parser
import feedparser
d = feedparser.parse('http://feeds.bbci.co.uk/news/rss.xml')
e = d['entries'][0]
print e.media_thumbnail ## this returns ''
Der Eintrag dies im rss hat:
media:thumbnail width="66" height="49" url="http://news.bbcimg.co.uk/media/images/50560000/jpg/_50560468_50557389.jpg"
media:thumbnail width="144" height="81" url="http://news.bbcimg.co.uk/media/images/50581000/jpg/_50581208_010904244-1.jpg"
dort So ist die Info, aber wie kann ich es bekommen?
(. Ich verwende die neueste feedparser Version feedparser Version -> '4.2-pre-294-svn')
Welche Lizenz sind die Fotos unter? –