code: def set_generator(self):
          
          try:
              self.generator = self.soup.find('generator').string
          except AttributeError:
              self.generator = None
docs: Parses feed generator and sets value