diff --git a/server/scraper/resto/sandwiches.py b/server/scraper/resto/sandwiches.py index fb704408..78410fc6 100755 --- a/server/scraper/resto/sandwiches.py +++ b/server/scraper/resto/sandwiches.py @@ -87,8 +87,8 @@ def static_sandwiches(output2, soup): columns = row.find_all("td") sandwiches.append({ "name": columns[0].find(string=True), - "ingredients": parse_ingredients(columns[1].string or ""), - "price_medium": parse_money(columns[2].string), + "ingredients": parse_ingredients(columns[1].text.strip() or ""), + "price_medium": parse_money(columns[2].text.strip()), "price_small": "" # workaround })