feat: added saving to result-no-indent.json
This commit is contained in:
5
main.py
5
main.py
@@ -194,7 +194,10 @@ def main():
|
||||
result['stat']['total_parsing_time'] = t.step()
|
||||
|
||||
json.dump(result, open('result.json', 'w'), indent=2, ensure_ascii=False)
|
||||
print("Saved to result.json")
|
||||
print("Saved to result.json indent=2")
|
||||
|
||||
json.dump(result, open('result-no-indent.json', 'w'), ensure_ascii=False)
|
||||
print("Saved to result-no-indent.json")
|
||||
|
||||
print("Faileds:")
|
||||
print(faileds)
|
||||
|
||||
Reference in New Issue
Block a user