diff --git a/index_crawler.py b/index_crawler.py index 0e159d4..9d6d69f 100644 --- a/index_crawler.py +++ b/index_crawler.py @@ -11,7 +11,7 @@ ses = requests.Session() ses.headers = {'accept-language': 'zh-CN'} -out_path = toml.loads(Path('config.toml').read_text())['index_path'] +out_path = Path(toml.loads(Path('config.toml').read_text())['index_path']) out_path.mkdir(exist_ok=True)