diff --git a/creation_helpers.py b/creation_helpers.py index d8bd9ad..117c6ea 100644 --- a/creation_helpers.py +++ b/creation_helpers.py @@ -533,7 +533,7 @@ def get_pitching_peripherals(season: int): row_data.append(player_id) if len(headers) == 0: col_names.append("key_bbref") - except Exception: + except KeyError: pass row_data.append(cell.text) if len(headers) == 0: