diff --git a/recipe_scrapers/womensweeklyfood.py b/recipe_scrapers/womensweeklyfood.py index 46db4855a..ec0691c76 100644 --- a/recipe_scrapers/womensweeklyfood.py +++ b/recipe_scrapers/womensweeklyfood.py @@ -2,6 +2,7 @@ from ._abstract import AbstractScraper from ._grouping_utils import group_ingredients +from ._utils import normalize_string class WomensWeeklyFood(AbstractScraper): @@ -16,7 +17,10 @@ def ingredients(self): ingredients_elements = self.soup.select( ".recipe-ingredients__item span[itemprop='ingredients']" ) - return [ingredient.get_text(strip=True) for ingredient in ingredients_elements] + return [ + normalize_string(ingredient.get_text()) + for ingredient in ingredients_elements + ] def ingredient_groups(self): return group_ingredients(