Skip to content

Commit

Permalink
Fix sandwiches
Browse files Browse the repository at this point in the history
  • Loading branch information
niknetniko committed Feb 12, 2024
1 parent e866f3b commit ad5320c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/scraper/resto/sandwiches.py
Expand Up @@ -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
})

Expand Down

0 comments on commit ad5320c

Please sign in to comment.