hhursev / recipe-scrapers

Python package for scraping recipes data
MIT License
1.69k stars 519 forks source link

Scrape from taste.com.au #808

Closed michael-watts99 closed 1 year ago

michael-watts99 commented 1 year ago

Please check that recipes published on the website you're requesting are public (we can't currently scrape recipes that require an account login), and add sample recipe URL(s) below:

Please see json data for first recipe example: {"@context":"https:\/\/schema.org","@type":"Recipe","recipeInstructions":["Preheat oven to 200C\/180C fan-forced. Cook the pasta in a large saucepan of salted boiling water until just al dente. Drain and return to the pan.","Meanwhile, heat the oil in a deep frying pan over medium heat. Add the sweet potato, onion and capsicum and cook, stirring, for 10 minutes or until the sweet potato starts to soften. Add the tomato, black beans and recipe base and stir to combine. Bring to a simmer. Cook, stirring occasionally, for 5 minutes or until sauce thickens slightly.","Add the pasta and half the cheese to the tomato mixture. Season. Toss to combine. Sprinkle with remaining cheese. Bake for 25-30 minutes or until melted and golden. Set aside for 5 minutes to cool slightly. Top with sour cream and sprinkle with coriander, if using."],"recipeIngredient":["250g dried penne pasta","18.20 gm extra virgin olive oil","500g sweet potato, peeled, cut into 2cm cubes","1 red onion, finely chopped","1 red capsicum, deseeded, coarsely chopped","400g can diced tomatoes","400g can black beans, rinsed, drained","180g pkt one pan chilli con carne recipe base","200g (2 cups) pre-grated Mexican cheese mix","Sour cream, to serve","Chopped fresh coriander, to serve"],"recipeCuisine":"mexican","cookTime":"PT45M","prepTime":"PT15M","totalTime":"PT60M","recipeYield":4,"recipeCategory":"dinner","keywords":"cheese, egg allergy, gluten allergy, lactose allergy, milk allergy, onion, pasta, peanut allergy, sesame allergy, sweet potato, tomato, tree nut allergy, wheat allergy, mexican, dinner, savoury, basic, easy, easy dinner, easy vegetarian, quick, simple, vegetarian, weeknight, kid friendly, homemade, family friendly, family","name":"Mexican sweet potato pasta bake recipe","description":"This vegetarian pasta bake is super easy to prepare thanks to our one pan chilli con carne recipe base, which you can find at Coles. Any short pasta will work, like fusilli or macaroni, and you can also add a touch of Mexican chilli powder if you want to add more spice. We like to make this one and freeze for up to 3 months for those occasions when there\u2019s no time to cook.","datePublished":"2022-11-15","dateCreated":"2022-11-15","dateModified":"2022-11-15","author":{"@context":"https:\/\/schema.org","@type":"Person","name":"Michelle Southan"},"publisher":{"@context":"https:\/\/schema.org","@type":"Organization","name":"taste","logo":{"@context":"https:\/\/schema.org","@type":"ImageObject","url":"https:\/\/www.taste.com.au\/assets\/static\/site-logos\/taste.jpg","width":450,"height":112}},"image":{"@context":"https:\/\/schema.org","@type":"ImageObject","url":"https:\/\/img.taste.com.au\/35R_MmNI\/taste\/2022\/11\/mexican-bake-183129-1.jpg","width":1980,"height":1320},"video":{"@context":"https:\/\/schema.org","@type":"VideoObject","name":"5348771529001-5751723550001","description":"5348771529001-5751723550001","thumbnailUrl":"https:\/\/img.taste.com.au\/35R_MmNI\/taste\/2022\/11\/mexican-bake-183129-1.jpg","uploadDate":"2018-03-25","embedUrl":"https:\/\/resources.newscdn.com.au\/cs\/video\/vjs\/stable\/build\/index.html?id=5348771529001-5751723550001&=domain=taste","contentUrl":"https:\/\/resources.newscdn.com.au\/cs\/video\/vjs\/stable\/build\/index.html?id=5348771529001-5751723550001&=domain=taste"}}

jayaddison commented 1 year ago

@jknndy hm. any idea why the Chicken meatballs with couscous recipe here returns the default author instead of Michelle's name?