Skip to content

Commit

Permalink
Ingredient grouping support for zenbelly (#1283)
Browse files Browse the repository at this point in the history
  • Loading branch information
jknndy authored Oct 15, 2024
1 parent 56b93d2 commit 44773a9
Show file tree
Hide file tree
Showing 5 changed files with 650 additions and 348 deletions.
9 changes: 9 additions & 0 deletions recipe_scrapers/zenbelly.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
from ._abstract import AbstractScraper
from ._grouping_utils import group_ingredients


class ZenBelly(AbstractScraper):
@classmethod
def host(cls):
return "zenbelly.com"

def ingredient_groups(self):
return group_ingredients(
self.ingredients(),
self.soup,
".tasty-recipes-ingredients-body p",
".tasty-recipes-ingredients-body ul li",
)
File renamed without changes.
Loading

0 comments on commit 44773a9

Please sign in to comment.