code: def read_config(cls, configparser):
          
          config = dict()
          section = cls.__name__
          option = sslcertwarndays
          if configparser.has_option(section, option):
              num = configparser.getint(section, option)
              if num > 0:
                  config[option] = num
              else:
                  msg = _("invalid value for %s: %d must not be less than %d") % (option, num, 0)
                  raise LinkCheckerError(msg)
          else:
              # set the default
              config[option] = 30
          return config
docs: Read configuration file options.