diff --git a/recipe_scrapers/__init__.py b/recipe_scrapers/__init__.py index ed8064806..8f03274bd 100644 --- a/recipe_scrapers/__init__.py +++ b/recipe_scrapers/__init__.py @@ -347,7 +347,8 @@ Mindmegette.host(): Mindmegette, Minimalistbaker.host(): Minimalistbaker, Misya.host(): Misya, - MobKitchen.host(): MobKitchen, + MobKitchen.host(domain="mob.co.uk"): MobKitchen, + MobKitchen.host(domain="mobkitchen.co.uk"): MobKitchen, MomsWithCrockPots.host(): MomsWithCrockPots, MonsieurCuisine.host(): MonsieurCuisine, MotherThyme.host(): MotherThyme, diff --git a/recipe_scrapers/mobkitchen.py b/recipe_scrapers/mobkitchen.py index cecf1835e..05dce4782 100644 --- a/recipe_scrapers/mobkitchen.py +++ b/recipe_scrapers/mobkitchen.py @@ -26,8 +26,8 @@ def __init__(self, *args, **kwargs): self.schema = SchemaOrg(recipe_schema, raw=True) @classmethod - def host(cls): - return "mobkitchen.co.uk" + def host(cls, domain="mobkitchen.co.uk"): + return domain def author(self): return self.schema.author()