<filename>main.py
from src.utils import initialize_logger

if __name__ == "__main__":
    initialize_logger()

    from src.shortcuts import check_update, broadcast_all

    for news in check_update():
        broadcast_all(news)

<filename>main.py
from src.utils import initialize_logger

if __name__ == "__main__":
    initialize_logger()

    from src.shortcuts import check_update, broadcast_all

    for news in check_update():
        broadcast_all(news)
