code: def parse(self, content):
          
          if content is None:
              return None
          
          feed = feedparser.parse(content)
          
          # When feed is malformed
          if feed['bozo']:
              # keep track of the parsing error exception but as string 
              # infos, not an exception object
              exception_content = {
                  "exception": str(type(feed['bozo_exception'])),
                  "content": str(feed['bozo_exception'].getException()),
                  "line": feed['bozo_exception'].getLineNumber(),
                  "message": feed['bozo_exception'].getMessage(),
              }
              # Overwrite the bozo content from feedparser
              feed['bozo_exception'] = exception_content
              # bozo feeds are not accepted
              if not self.bozo_accept:
                  feed = None
  
          return feed
docs: Parse the fetched feed content
          
          Feedparser returned dict contain a 'bozo' key which can be '1' if the feed 
          is malformed.
          
          Return None if the feed is malformed and 'bozo_accept' 
          is 'False', else return the feed content dict.
          
          If the feed is malformed but 'bozo_accept' is 'True', the feed content dict will 
          contain the parsing error exception informations in 'bozo_exception'.