diff --git a/.idea/MSSWY.iml b/.idea/MSSWY.iml new file mode 100644 index 0000000..6711606 --- /dev/null +++ b/.idea/MSSWY.iml @@ -0,0 +1,11 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..65531ca --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..70ddbc3 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/main.py b/main.py index 13c6fa5..12f06b2 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,19 @@ -import os import src.monitor as monitor -monitor.test() -os.system("PAUSE>NUL") \ No newline at end of file +from colorama import Style, Fore, Back, init + +if __name__ == "__main__": + + spacer = "===========================================================================" + url = "https://www.nike.com/de/launch?s=upcoming" + num_monitors = 10 + + init(autoreset=True) + + print(f"Creating {num_monitors} new Monitors...\n{spacer}") + for i in range(0, num_monitors): + mon = monitor.Monitor() + mon.name = f"Monitor {i}" + mon.url = url + print(f"{Fore.MAGENTA}{mon.name}") + print(spacer) diff --git a/src/monitor.py b/src/monitor.py index 7fb9f86..a9febdf 100644 --- a/src/monitor.py +++ b/src/monitor.py @@ -1,2 +1,5 @@ -def test(): - print("Lmao") \ No newline at end of file +class Monitor: + + def __init__(self): + self.url = None + self.name = None