Update main.py

This commit is contained in:
Xtao_dada 2021-07-02 13:41:21 +08:00 committed by GitHub
parent 22d91cc79c
commit 42fd6fcdd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,11 @@
from FR2T import fr2t
from time import sleep
if __name__ == "__main__":
config_path = "data/config.yaml"
rss_path = "data/rss.yaml"
fr = fr2t.FR2T(config_path, rss_path)
fr.run()
while:
fr.run()
sleep(600)