def main(start, end, out):
    """
    Scrape a MLBAM Data
    :param start: Start Day(YYYYMMDD)
    :param end: End Day(YYYYMMDD)
    :param out: Output directory(default:"../output/mlb")
    """
    try:
        logging.basicConfig(level=logging.WARNING)
        MlbAm.scrape(start, end, out)
    except MlbAmBadParameter as e:
        raise click.BadParameter(e)