'Parses a RSS feed. This methods supports RSS 2.0 and Media RSS.'

def parse(self, url, cache):

    feed = feedparser.parse(url)
    for item in feed.entries:
        link = item.get(u'link', None)
        if ((link is None) or cache.has(link)):
            continue
        title = self._html2plaintext(item[u'title']).strip()
        description = self._html2plaintext(item.get(u'media_description', u'')).strip()
        torrent_url = item[u'link']
        thumbnail_list = []
        media_thumbnail_list = item.get(u'media_thumbnail', None)
        if media_thumbnail_list:
            for thumbnail in media_thumbnail_list:
                thumbnail_list.append(thumbnail[u'url'])
        parsed_item = {u'title': title, u'description': description, u'torrent_url': torrent_url, u'thumbnail_list': thumbnail_list}
        (yield parsed_item)
