def _get_next_days(soup, input_units, output_units):
    """Gets a summary of the next 8 days (including today).

    Args:
        soup (bs4.BeautifulSoup): The BeautifoulSoup object.
        input_units (string): The autodetected input units, they can be either
                              "metric" or "imperial".
        output_units (dict): A dictionary contatining "temp" key, which can be
                             "c" for Celsius or "f" for Farenheit and a "speed"
                             key, which can be "km/h" for Kilometers Per Hour
                             or "mph" for Miles Per Hour.

    Returns:
        list: A list of the next 8 days (including today) containing "Weather
              Condition", "Day Name", "Minimum Temperature" and "Maximum
              Temperature" for each day.
    """
    # Create a list to store the output data
    data = list()

    # Extract data from soup
    days = soup.find("div", attrs={"id": "wob_dp"})

    # Iterate over every single day
    for day in days.findAll("div", attrs={"class": "wob_df"}):
        day_name = day.find("div").attrs["aria-label"]
        weather = day.find("img").attrs["alt"]
        temp = day.findAll("span", {"class": "wob_t"})

        # Get the right data for the chosen output units
        if input_units == "metric":
            if output_units["temp"] == "c":
                max_temp = float(temp[0].text)
                min_temp = float(temp[2].text)
            else:
                max_temp = float(temp[1].text)
                min_temp = float(temp[3].text)
        else:
            if output_units["temp"] == "c":
                max_temp = float(temp[1].text)
                min_temp = float(temp[3].text)
            else:
                max_temp = float(temp[0].text)
                min_temp = float(temp[2].text)

        # Append the values to the output list
        data.append(
            {
                "day": day_name,
                "weather": weather,
                "max_temp": max_temp,
                "min_temp": min_temp,
            }
        )

    return data