2023-12-26 01:32:27 +10:00
|
|
|
import sys
|
2023-12-12 16:13:58 +10:00
|
|
|
|
2023-12-26 01:32:27 +10:00
|
|
|
from loguru import logger
|
|
|
|
|
|
|
|
from stolichki.parsers.city import CityParser
|
|
|
|
from stolichki.types.city import City
|
|
|
|
|
|
|
|
|
|
|
|
@logger.catch
|
|
|
|
def main():
|
|
|
|
city = City(111, "Бутово", 1, [])
|
|
|
|
result = CityParser(city).parse()
|
|
|
|
print(result)
|
2023-12-12 16:13:58 +10:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
2023-12-26 01:32:27 +10:00
|
|
|
logger.add(sys.stderr, level="DEBUG", backtrace=True, enqueue=True) #type: ignore
|
|
|
|
main()
|