mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-10-29 17:52:41 -04:00
12 lines
312 B
Python
12 lines
312 B
Python
async def main():
|
|
import logging
|
|
from autosync.services.simkl import Simkl
|
|
from autosync.services.aggregate import Aggregate
|
|
from autosync.consumer import Consumer
|
|
|
|
logging.basicConfig(level=logging.INFO)
|
|
|
|
service = Aggregate([Simkl()])
|
|
async with Consumer() as consumer:
|
|
await consumer.listen(service)
|