video_downloader_service/main.py

11 lines
264 B
Python
Raw Normal View History

2023-10-18 00:38:33 +03:00
import asyncio
2023-08-24 16:45:55 +03:00
from multiprocessing import freeze_support
from src.core.master_service import MasterService
if __name__ == '__main__':
freeze_support()
2023-10-18 00:38:33 +03:00
loop = asyncio.get_event_loop()
ms = MasterService(loop)
2023-10-17 18:14:32 +03:00
ms.loop.run_until_complete(ms.run())