Formatted-RSS-to-Telegram/main.py

12 lines
236 B
Python
Raw Normal View History

2021-05-26 09:32:39 +00:00
from FR2T import fr2t
2021-07-02 05:41:21 +00:00
from time import sleep
2021-05-26 09:32:39 +00:00
if __name__ == "__main__":
config_path = "data/config.yaml"
rss_path = "data/rss.yaml"
fr = fr2t.FR2T(config_path, rss_path)
2021-07-02 05:42:26 +00:00
while True:
2021-07-02 05:41:21 +00:00
fr.run()
sleep(600)