-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
32 lines (22 loc) · 890 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
27
28
29
30
31
32
from main_helper import *
from main_setup import WebsiteAnalyzer
def main():
action_choice = get_type("Select Action Type: ", action_type)
output_choice = get_type("Select Output Type: ", output_type)
language_choice = get_type("Select Language: ", language)
xls_choice = get_type("Select Excel Type: ", xls_type)
run_choice = get_type("Select Run Type: ", run_type)
top_frequency = get_input("Enter the top frequency value (default=5): ", 5)
http_timeout = get_input("Enter the HTTP timeout seconds (default=1): ", 1)
WebsiteAnalyzer(
action_type[action_choice],
output_type[output_choice],
language[language_choice],
xls_type[xls_choice],
run_type[run_choice],
top_frequency,
http_timeout
)
input("\nProcess completed. Press Enter to exit...")
if __name__ == "__main__":
main()