code: def special_time_extrator(self, string):
          
  
          try:
              if not self.year_check:
                  str_year = int(re.search('.*?(\d{4})[-._]', string).group(1))
                  check_year = datetime.datetime.now().year
                  if str_year in range(1970, check_year + 1):
                      self.year = str_year
                      self.year_check = True
          except:
              pass
          try:
              if not self.month_check and not self.day_check:
                  str_month_day = re.search('((\d{1,2})[-._·](\d{1,2}))', string)
                  str_month = int(str_month_day.group(2))
                  str_day = int(str_month_day.group(3))
                  if str_month in range(1, 13) and str_day in range(1, 32):
                      self.month = str_month
                      self.day = str_day
                      self.month_check = True
                      self.day_check = True
          except:
              pass
docs: 特殊时间抽取，即年月日单独出现
  
          Keyword arguments:
          string              -- 含有时间的文本，str类型