|
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) |