diff --git a/store/xhs/xhs_store_impl.py b/store/xhs/xhs_store_impl.py index 8450de2..2dc8838 100644 --- a/store/xhs/xhs_store_impl.py +++ b/store/xhs/xhs_store_impl.py @@ -205,7 +205,7 @@ class XhsJsonStoreImplement(AbstractStore): save_data.append(save_item) async with aiofiles.open(save_file_name, 'w', encoding='utf-8') as file: - await file.write(json.dumps(save_data, ensure_ascii=False)) + await file.write(json.dumps(save_data, ensure_ascii=False, indent=4)) if config.ENABLE_GET_COMMENTS and config.ENABLE_GET_WORDCLOUD: try: