remove cbb
This commit is contained in:
@@ -123,11 +123,11 @@ def get_season_and_sport(mode: str):
|
||||
print(f"\n{Colors.BOLD}Select sport:{Colors.RESET}")
|
||||
print(f" {Colors.GREEN}[1]{Colors.RESET} All Sports")
|
||||
print(f" {Colors.GREEN}[2]{Colors.RESET} MLB {Colors.GREEN}[3]{Colors.RESET} NBA {Colors.GREEN}[4]{Colors.RESET} NHL {Colors.GREEN}[5]{Colors.RESET} NFL")
|
||||
print(f" {Colors.GREEN}[6]{Colors.RESET} MLS {Colors.GREEN}[7]{Colors.RESET} WNBA {Colors.GREEN}[8]{Colors.RESET} NWSL {Colors.GREEN}[9]{Colors.RESET} CBB")
|
||||
print(f" {Colors.GREEN}[6]{Colors.RESET} MLS {Colors.GREEN}[7]{Colors.RESET} WNBA {Colors.GREEN}[8]{Colors.RESET} NWSL")
|
||||
|
||||
sport_map = {
|
||||
'1': 'all', '2': 'mlb', '3': 'nba', '4': 'nhl', '5': 'nfl',
|
||||
'6': 'mls', '7': 'wnba', '8': 'nwsl', '9': 'cbb'
|
||||
'6': 'mls', '7': 'wnba', '8': 'nwsl'
|
||||
}
|
||||
|
||||
sport_choice = input(f"{Colors.CYAN}Enter choice [1]:{Colors.RESET} ").strip()
|
||||
@@ -156,7 +156,6 @@ def scrape_submenu():
|
||||
('6', 'mls', 'MLS - Major League Soccer'),
|
||||
('7', 'wnba', 'WNBA - Women\'s National Basketball Association'),
|
||||
('8', 'nwsl', 'NWSL - National Women\'s Soccer League'),
|
||||
('9', 'cbb', 'CBB - College Basketball'),
|
||||
('b', 'back', 'Back to main menu'),
|
||||
]
|
||||
|
||||
@@ -235,7 +234,6 @@ def pipeline_submenu():
|
||||
('6', 'mls', 'MLS only'),
|
||||
('7', 'wnba', 'WNBA only'),
|
||||
('8', 'nwsl', 'NWSL only'),
|
||||
('9', 'cbb', 'CBB only'),
|
||||
('b', 'back', 'Back to main menu'),
|
||||
]
|
||||
|
||||
@@ -624,7 +622,7 @@ Examples:
|
||||
)
|
||||
scrape_parser.add_argument(
|
||||
'--sport',
|
||||
choices=['nba', 'mlb', 'nhl', 'nfl', 'wnba', 'mls', 'nwsl', 'cbb', 'all'],
|
||||
choices=['nba', 'mlb', 'nhl', 'nfl', 'wnba', 'mls', 'nwsl', 'all'],
|
||||
default='all',
|
||||
help='Sport to scrape (default: all)'
|
||||
)
|
||||
@@ -653,7 +651,7 @@ Examples:
|
||||
stadiums_update_parser = subparsers.add_parser(
|
||||
'stadiums-update',
|
||||
help='Scrape ALL stadium data for all 8 sports',
|
||||
description='Comprehensive stadium scraping for NBA, MLB, NHL, NFL, WNBA, MLS, NWSL, and CBB'
|
||||
description='Comprehensive stadium scraping for NBA, MLB, NHL, NFL, WNBA, MLS, and NWSL'
|
||||
)
|
||||
stadiums_update_parser.add_argument(
|
||||
'--output',
|
||||
@@ -893,7 +891,7 @@ Examples:
|
||||
)
|
||||
pipeline_parser.add_argument(
|
||||
'--sport',
|
||||
choices=['nba', 'mlb', 'nhl', 'nfl', 'wnba', 'mls', 'nwsl', 'cbb', 'all'],
|
||||
choices=['nba', 'mlb', 'nhl', 'nfl', 'wnba', 'mls', 'nwsl', 'all'],
|
||||
default='all',
|
||||
help='Sport to process (default: all)'
|
||||
)
|
||||
@@ -934,7 +932,7 @@ Examples:
|
||||
)
|
||||
full_pipeline_parser.add_argument(
|
||||
'--sport',
|
||||
choices=['nba', 'mlb', 'nhl', 'nfl', 'wnba', 'mls', 'nwsl', 'cbb', 'all'],
|
||||
choices=['nba', 'mlb', 'nhl', 'nfl', 'wnba', 'mls', 'nwsl', 'all'],
|
||||
default='all',
|
||||
help='Sport to process (default: all)'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user