-
Notifications
You must be signed in to change notification settings - Fork 16
/
main.py
26 lines (20 loc) · 952 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from src.custom_logging import setup_logger
from src.start_app import main
logger = setup_logger(__name__)
# ------------------------------------------------------- #
# functions
# ------------------------------------------------------- #
if __name__ == "__main__":
try:
main()
except KeyboardInterrupt:
logger.info("-----------------------------------------------------------")
logger.info(" AnimeSerienScraper Stopped")
logger.info("-----------------------------------------------------------")
logger.info("Downloads may still be running. Please dont close this Window until its done.")
logger.info(
"You will know its done once you see your primary prompt string. Example: C:\\XXX or username@hostname:")
except Exception as e:
logger.error("----------")
logger.error(f"Exception: {e}")
logger.error("----------")