def get_last_playerdb_update():
Config = configparser.ConfigParser()
Config.read(config_file)
try:
opts = Config.options(pscrape_opts)
except:
return datetime.MINYEAR
date = Config.get(pscrape_opts, pscrape_last_update)
return datetime.strptime(date, '%y%m%d')
评论列表
文章目录