Skip to content

Commit

Permalink
add zenbelly.com (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
brett authored Dec 8, 2021
1 parent eef8693 commit d880718
Show file tree
Hide file tree
Showing 5 changed files with 412 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ Scrapers available for:
- `https://en.wikibooks.org/ <https://en.wikibooks.org>`_
- `https://yemek.com/ <https://yemek.com>`_
- `https://yummly.com/ <https://yummly.com>`_
- `https://zenbelly.com/ <https://zenbelly.com>`_


Contribute
Expand Down
2 changes: 2 additions & 0 deletions recipe_scrapers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
from .yemek import Yemek
from .yummly import Yummly
from .zeitwochenmarkt import ZeitWochenmarkt
from .zenbelly import ZenBelly

SCRAPERS = {
ACoupleCooks.host(): ACoupleCooks,
Expand Down Expand Up @@ -349,6 +350,7 @@
Yemek.host(): Yemek,
Yummly.host(): Yummly,
ZeitWochenmarkt.host(): ZeitWochenmarkt,
ZenBelly.host(): ZenBelly,
}


Expand Down
28 changes: 28 additions & 0 deletions recipe_scrapers/zenbelly.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
from ._abstract import AbstractScraper


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

def title(self):
return self.schema.title()

def total_time(self):
return self.schema.total_time()

def yields(self):
return self.schema.yields()

def image(self):
return self.schema.image()

def ingredients(self):
return self.schema.ingredients()

def instructions(self):
return self.schema.instructions()

def ratings(self):
return self.schema.ratings()
Loading

0 comments on commit d880718

Please sign in to comment.