Skip to content

Commit

Permalink
wellplated
Browse files Browse the repository at this point in the history
  • Loading branch information
jknndy committed Oct 13, 2024
1 parent b1189aa commit b0148c4
Show file tree
Hide file tree
Showing 5 changed files with 3,603 additions and 1,370 deletions.
9 changes: 9 additions & 0 deletions recipe_scrapers/wellplated.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from ._abstract import AbstractScraper
from ._grouping_utils import group_ingredients


class WellPlated(AbstractScraper):
Expand All @@ -8,3 +9,11 @@ def host(cls):

def cuisine(self):
return self.schema.cuisine().replace(",", ", ")

def ingredient_groups(self):
return group_ingredients(
self.ingredients(),
self.soup,
".wprm-recipe-group-name",
".wprm-recipe-ingredient",
)
Loading

0 comments on commit b0148c4

Please sign in to comment.