Skip to content

Commit

Permalink
fix brokenoven equipment
Browse files Browse the repository at this point in the history
  • Loading branch information
jknndy committed Oct 2, 2024
1 parent 3452777 commit b1d75e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion recipe_scrapers/brokenovenbaking.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def equipment(self):
".wprm-recipe-equipment-container .wprm-recipe-equipment-item"
)
equipment_list = [
item.select_one(".wprm-recipe-equipment-name").get_text(strip=True)
item.select_one(".wprm-recipe-equipment-name").get_text()
for item in equipment_items
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"ratings": 5.0,
"ratings_count": 2,
"equipment": [
"Muffin panfilled with baking cups or lightly greased",
"Muffin pan filled with baking cups or lightly greased",
"Mixing bowls",
"Measuring spoons",
"Scale/measuring cups",
Expand Down
6 changes: 3 additions & 3 deletions tests/test_data/brokenovenbaking.com/brokenovenbaking_2.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
"ratings": 5.0,
"ratings_count": 1,
"equipment": [
"Muffin panwith liners",
"Food Processorrecommended",
"Electric mixerrecommended",
"Muffin pan with liners",
"Food Processor recommended",
"Electric mixer recommended",
"Mixing bowls",
"Spatula"
],
Expand Down

0 comments on commit b1d75e4

Please sign in to comment.