all repos — webpage-monitor @ master

main.py (view raw)

 1import os
 2from Monitor import monitor
 3from dotenv import load_dotenv
 4load_dotenv()
 5
 6if __name__ == "__main__":
 7    monitor(os.getenv("url"),
 8            os.getenv("email"),
 9            os.getenv("password"),
10            interval=int(os.getenv("interval"))
11           )
12