code: def semester_feature(catalog, soup):
      
      raw = soup.coursedb['semesternumber']
      catalog.year = int(raw[:4])
  
      month_mapping = {1: 'Spring', 5: 'Summer', 9: 'Fall'}
      catalog.month = int(raw[4:])
      catalog.semester = month_mapping[catalog.month]
  
      catalog.name = soup.coursedb['semesterdesc']
  
      logger.info('Catalog type: %s' % catalog.name)
docs: The year and semester information that this xml file hold courses for.