Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Southerncastiron #679

Merged
merged 2 commits into from Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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()