Skip to content

Commit

Permalink
Add southerncastiron (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
brett committed Nov 22, 2022
1 parent d6e0fe7 commit 3594e02
Show file tree
Hide file tree
Showing 5 changed files with 3,492 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Expand Up @@ -262,6 +262,7 @@ Scrapers available for:
- `https://simplywhisked.com/ <https://simplywhisked.com>`_
- `https://simply-cookit.com/ <https://simply-cookit.com>`_
- `https://skinnytaste.com/ <https://www.skinnytaste.com>`_
- `https://www.southerncastiron.com/ <https://www.southerncastiron.com>`_
- `https://southernliving.com/ <https://southernliving.com/>`_
- `https://spendwithpennies.com/ <https://spendwithpennies.com/>`_
- `https://www.springlane.de <https://www.springlane.de>`_
Expand Down
2 changes: 2 additions & 0 deletions recipe_scrapers/__init__.py
Expand Up @@ -178,6 +178,7 @@
from .simplywhisked import SimplyWhisked
from .skinnytaste import SkinnyTaste
from .smulweb import Smulweb
from .southerncastiron import SouthernCastIron
from .southernliving import SouthernLiving
from .spendwithpennies import SpendWithPennies
from .springlane import Springlane
Expand Down Expand Up @@ -411,6 +412,7 @@
SimplyWhisked.host(): SimplyWhisked,
SkinnyTaste.host(): SkinnyTaste,
Smulweb.host(): Smulweb,
SouthernCastIron.host(): SouthernCastIron,
SouthernLiving.host(): SouthernLiving,
SpendWithPennies.host(): SpendWithPennies,
Springlane.host(): Springlane,
Expand Down
26 changes: 26 additions & 0 deletions recipe_scrapers/southerncastiron.py
@@ -0,0 +1,26 @@
# mypy: disallow_untyped_defs=False
from ._abstract import AbstractScraper


class SouthernCastIron(AbstractScraper):
@classmethod
def host(cls, domain="southerncastiron.com"):
return domain

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

0 comments on commit 3594e02

Please sign in to comment.