mirror of
https://gitea.phreedom.club/localhost_frssoft/FMN_bot
synced 2024-11-22 23:19:19 +02:00
18 lines
501 B
Python
18 lines
501 B
Python
|
from src import listener_context, listener_mention, imdb_datasets_worker
|
||
|
from config import logger_default_level
|
||
|
import logging
|
||
|
|
||
|
|
||
|
|
||
|
def main():
|
||
|
# imdb_datasets_worker.convert_datasets_to_db()
|
||
|
|
||
|
logging.basicConfig(level=logger_default_level)
|
||
|
|
||
|
#listener_mention.run_scan_notif() # Слушаем упоминания в фоне
|
||
|
|
||
|
listener_context.scan_context_thread() # Слушаем тред на новые предложения фильмов
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
main()
|