diff --git a/searx/engines/wttr.py b/searx/engines/wttr.py index 60e91114f..d3da2748a 100644 --- a/searx/engines/wttr.py +++ b/searx/engines/wttr.py @@ -102,24 +102,21 @@ def response(resp): title = f"{location['areaName'][0]['value']}, {location['region'][0]['value']}" - infobox = f"

{gettext('Current condition')}

" + infobox = f"

{gettext('Current condition')}

" infobox += generate_condition_table(current, resp.search_params['language'], True) infobox += "
" for day in result["weather"]: - infobox += "
" - infobox += f"

{day['date']}

" + infobox += f"

{day['date']}

" - infobox += f"

{gettext('Overview')}

" infobox += "" infobox += generate_day_table(day) infobox += "
" - infobox += f"

{gettext('Forecast')}

" infobox += "" for time in forecast_indices.items():