mirror of
https://github.com/tropicoo/yt-dlp-bot.git
synced 2024-12-27 01:27:11 +08:00
16 lines
278 B
Python
16 lines
278 B
Python
import asyncio
|
|
|
|
import uvloop
|
|
|
|
from worker.core.launcher import WorkerLauncher
|
|
from worker.core.log import setup_logging
|
|
|
|
|
|
async def main() -> None:
|
|
setup_logging()
|
|
await WorkerLauncher().start()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
uvloop.install()
|
|
asyncio.run(main())
|