Skip to content

Commit

Permalink
Simple Veganista scraper added (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspinder committed Oct 9, 2022
1 parent 516da03 commit ca8720a
Show file tree
Hide file tree
Showing 5 changed files with 1,492 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Expand Up @@ -252,6 +252,7 @@ Scrapers available for:
- `https://sallys-blog.de <https://sallys-blog.de/>`_
- `https://www.saveur.com/ <https://www.saveur.com/>`_
- `https://seriouseats.com/ <https://seriouseats.com>`_
- `https://simple-veganista.com/ <https://simple-veganista.com/>`_
- `https://simplyquinoa.com/ <https://simplyquinoa.com>`_
- `https://simplyrecipes.com/ <https://simplyrecipes.co>`_
- `https://simplywhisked.com/ <https://simplywhisked.com>`_
Expand Down
3 changes: 3 additions & 0 deletions recipe_scrapers/__init__.py
@@ -1,4 +1,5 @@
from __future__ import annotations

import contextlib
from typing import Any, Optional

Expand Down Expand Up @@ -167,6 +168,7 @@
from .sallysblog import SallysBlog
from .saveur import Saveur
from .seriouseats import SeriousEats
from .simpleveganista import SimpleVeganista
from .simplyquinoa import SimplyQuinoa
from .simplyrecipes import SimplyRecipes
from .simplywhisked import SimplyWhisked
Expand Down Expand Up @@ -391,6 +393,7 @@
SallysBlog.host(): SallysBlog,
Saveur.host(): Saveur,
SeriousEats.host(): SeriousEats,
SimpleVeganista.host(): SimpleVeganista,
SimplyQuinoa.host(): SimplyQuinoa,
SimplyRecipes.host(): SimplyRecipes,
SimplyWhisked.host(): SimplyWhisked,
Expand Down
42 changes: 42 additions & 0 deletions recipe_scrapers/simpleveganista.py
@@ -0,0 +1,42 @@
# mypy: allow-untyped-defs

from ._abstract import AbstractScraper


class SimpleVeganista(AbstractScraper):
@classmethod
def host(cls):
return "simple-veganista.com"

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

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

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

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()

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

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

0 comments on commit ca8720a

Please sign in to comment.