stolichki/main.py

14 lines
298 B
Python
Raw Normal View History

2023-12-12 16:13:58 +10:00
import json
import logging
from stolichki.parser import StolichkiParser
if __name__ == "__main__":
logging.basicConfig(
level=logging.INFO
)
result = StolichkiParser().run()
with open("data.json", "w") as f:
json.dump(result, f, indent=4, ensure_ascii=False)