Skip to content

Commit

Permalink
Add swissmilk.ch
Browse files Browse the repository at this point in the history
  • Loading branch information
emilycares committed Feb 27, 2025
1 parent 1ccbb56 commit b051472
Show file tree
Hide file tree
Showing 4 changed files with 254 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipe_scrapers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@
from .sunset import Sunset
from .sweetcsdesigns import SweetCsDesigns
from .sweetpeasandsaffron import SweetPeasAndSaffron
from .swissmilk import SwissMilk
from .tasteatlas import TasteAtlas
from .tasteau import TasteAU
from .tasteofhome import TasteOfHome
Expand Down Expand Up @@ -646,6 +647,7 @@
StacyLing.host(): StacyLing,
StrongrFastr.host(): StrongrFastr,
SugarHero.host(): SugarHero,
SwissMilk.host(): SwissMilk,
TasteAtlas.host(): TasteAtlas,
TheCookieRookie.host(): TheCookieRookie,
TheCookingGuy.host(): TheCookingGuy,
Expand Down
7 changes: 7 additions & 0 deletions recipe_scrapers/swissmilk.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from ._abstract import AbstractScraper


class SwissMilk(AbstractScraper):
@classmethod
def host(cls):
return "swissmilk.ch"
31 changes: 31 additions & 0 deletions tests/test_data/swissmilk.ch/swissmilk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"host": "swissmilk.ch",
"canonical_url": "https://www.swissmilk.ch/de/rezepte-kochideen/rezepte/LM200910_59/tomatenrisotto/",
"site_name": "Swissmilk",
"author": "Swissmilk",
"language": "de",
"title": "Tomatenrisotto",
"ingredients": [
"1 Knoblauchzehe, gepresst",
"½ Zwiebel, fein gehackt",
"Butter zum Dünsten",
"150 g Risottoreis, z.B. Carnaroli",
"3 EL Tomatenpüree",
"1 dl Weisswein oder Gemüsebouillon",
"3,5 - 4 dl Gemüsebouillon, heiss",
"3 EL Schweizer Mascarpone",
"2 EL fein gehackter Oregano",
"2 Tomaten, halbiert, entkernt, klein gewürfelt",
"2 - 3 EL geriebener Sbrinz AOP",
"Pfeffer aus der Mühle",
"Oregano zum Garnieren"
],
"instructions_list": [
"Knoblauch und Zwiebel in Butter andünsten. Reis und Tomatenpüree kurz mitdünsten. Mit Wein oder Bouillon ablöschen, einkochen. Nach und nach heisse Bouillon dazugiessen, unter häufigem Rühren 15-20 Minuten al dente kochen.",
"Mascarpone, Oregano, Tomaten und Sbrinz daruntermischen, nur heiss werden lassen, mit Pfeffer würzen, garnieren."
],
"total_time": 30,
"yields": "2 servings",
"image": "https://res.cloudinary.com/swissmilk/image/fetch/w_1600,c_fill,g_auto,f_auto,q_auto:eco,ar_16:9/https://api.swissmilk.ch/wp-content/uploads/2019/12/LM200910_59_Tomatenrisotto-2560x1707.jpg",
"description": "Risotto mal anders: wunderbares Aroma von Tomaten und Oregano und herrlich sämig dank Mascarpone. Jede Gabel schmeckt wie Ferien im Tessin."
}
Loading

0 comments on commit b051472

Please sign in to comment.