antoniomilanese / bbccoukfood

Lists recipes, ingredients and categories from the BBC Food website.

Forked from ScraperWiki

Contributors antoniomilanese

Last run failed with status code 1.

Console output of last run

Scraping dishes a-z Scraping page : Apple chutney 8 found process_recipe_list : 8 recipes found recipe_exists : Not Scraping, already exists recipe_exists : Not Scraping, already exists recipe_exists : Not Scraping, already exists recipe_exists : Not Scraping, already exists recipe_exists : Not Scraping, already exists recipe_exists : Scraping <div class="page hrecipe"> <div id="column-1" class="column"> <div class="article-title-wrapper"> <div class="article-title"> <h1 class="fn ">British beef Raj curry</h1> </div> <div class="article-add-to"> <div class="p-f p-f-v1 p-f-variant-standard p-f-p_food p-f-lang-en-gb" data-id="british_beef_raj_curry_70957" data-title="British beef Raj curry" data-appid="food" data-type="recipe" data-item="urn:bbc:food:recipe:british_beef_raj_curry_70957:title=British%20beef%20Raj%20curry" data-lang="en-gb" data-variant="standard" data-profile="food" data-ptrt="" data-openinnewwindow="" style="font-size: 1.3em;"> <form method="post" action=""> <input type="hidden" name="item" value="urn:bbc:food:recipe:british_beef_raj_curry_70957:title=British%20beef%20Raj%20curry"><input type="hidden" name="ptrt" value=""><button id="pf1" type="submit" class="p-f-button " aria-labelledby="pfl1" aria-live="polite" title="Add British beef Raj curry to Favourites"> <span class="p-f-icon"> <img src="" class="p-f-icon-sprite" width="128" height="384" alt=""><img src="" class="p-f-icon-spinner" width="128" height="128" alt=""></span> <span id="pfl1" class="p-f-label p-f-hidden" tabindex="-1">Add "British beef Raj curry" to Favourites</span> <span class="p-f-label-display p-f-show" role="presentation" aria-hidden="true"> <span class="p-f-label-text">Add <span class="p-f-hidden">"British beef Raj curry"</span> to Favourites</span> <span class="p-f-label-action"></span> </span> </button> </form> </div> </div> </div> <div id="subcolumn-1" class="subcolumn"> <img id="food-image" class="photo" src="" width="448" height="252" alt="British beef Raj curry"><div id="description" class="module padded summary"> <p><span class="summary">This beef curry is a version of a childhood memory of one of Rick Stein&#8217;s mum&#8217;s curries. The curry is finished with sultanas and desiccated coconut. Serve with chutney, salted fish and poppadoms.</span></p> </div> <div id="ingredients" class="module bordered module padded"> <h2>Ingredients</h2> <dl id="stages"><dt class="stage-title"></dt> <dd> <ul><li><p class="ingredient">25g/1oz <a href="/food/butter" class="name food">butter</a></p></li> <li><p class="ingredient">750g/1lb 10oz chuck <a href="/food/steak" class="name food">steak</a>, cut into 4cm/1&#189;in cubes</p></li> <li><p class="ingredient">2 medium <a href="/food/onion" class="name food">onions</a>, sliced</p></li> <li><p class="ingredient">3 <a href="/food/garlic" class="name food">garlic</a> cloves, crushed</p></li> <li><p class="ingredient">1 tsp Kashmiri <a href="/food/chilli_powder" class="name food">chilli powder</a></p></li> <li><p class="ingredient">1 tsp ground <a href="/food/turmeric" class="name food">turmeric</a></p></li> <li><p class="ingredient">1&#189; tbsp <a href="/food/garam_masala" class="name food">garam masala</a></p></li> <li><p class="ingredient">1&#189; tsp <a href="/food/salt" class="name food">salt</a></p></li> <li><p class="ingredient">600ml/20fl oz <a href="/food/beef_stock" class="name food">beef stock</a></p></li> <li><p class="ingredient">50g/1&#190;oz <a href="/food/dessicated_coconut" class="name food">desiccated coconut</a></p></li> <li><p class="ingredient">100g/3&#189;oz <a href="/food/sultanas" class="name food">sultanas</a></p></li> </ul></dd> <dt class="stage-title">To serve</dt> <dd> <ul><li><p class="ingredient">choose from: Bombay duck (or any dried, salted fish such as dried anchovies, available from Asian shops), <a href="/food/apple_chutney" class="name food">apple chutney</a>, tamarind chutney, sliced bananas, grated coconut and/or poppadoms</p></li> </ul></dd> </dl></div> <div id="preparation" class="module bordered"> <h2>Preparation method</h2> <ol class="instructions"><li class="instruction"> <p>Melt the butter in a large, sturdy pan over a medium heat. Add the steak, in batches, and fry for a few minutes until browned and then remove to a plate. Add the onions to the same pan and fry for 10 minutes, or until softened and golden-brown. </p> </li> <li class="instruction"> <p>Add the garlic and fry for one minute, then return the meat to the pan, along with any juices on the plate. Stir in the chilli powder, turmeric, one tablespoon of the garam masala, and the salt, and cook for one minute.</p> </li> <li class="instruction"> <p>Add the stock, followed by the coconut and sultanas. Bring to a simmer, cover and cook over a low heat for 45 minutes to an hour or until the beef is tender. Stir in the remaining garam masala and serve.</p> </li> </ol></div> <div id="related-tips-list-module" class="inline-accordion module"> </div> </div> <div id="subcolumn-2" class="subcolumn"> <div id="chef-details" class=" module"> <h2> By <a href="/food/chefs/rick_stein"> <span class="author">Rick Stein</span> <img src="" width="72" height="72" alt="Rick Stein"></a> </h2> <h3>From <a href="/food/recipes/search?programmes%5B%5D=b033rhzh">Rick Stein's India</a> </h3> </div> <div id="article-details" class="module bordered"> <h3><span class="prepTime"><span class="value-title" title="PT30M"></span>Less than 30 mins</span> preparation time</h3> <h3><span class="cookTime"><span class="value-title" title="PT2H"></span>1 to 2 hours</span> cooking time</h3> <h3 class="yield">Serves 4-6</h3> </div> <div class="bbc-st bbc-st-slim bbc-st-colour bbc-st-dark"> <p class="bbc-st-basic"> <a href="/sharetools/share?url=/food/recipes/british_beef_raj_curry_70957&amp;imageUrl=;appId=Food&amp;env=int">Share this page</a> </p> </div> <div id="user-actions" class="module coloured padded"> <ul><li><a class="print-link" href="/food/recipes/british_beef_raj_curry_70957.pdf"><span></span>Print version</a></li> <li><a rel="nofollow" class="shopping-list-link" href="/food/recipes/british_beef_raj_curry_70957/shopping-list"><span></span>Shopping list</a></li> <li><a class="mobile-link" href="/food/recipes/british_beef_raj_curry_70957/share"><span></span>Send to a mobile</a></li> </ul></div> <div id="recommend" class="module coloured padded" data-recipeid="british_beef_raj_curry_70957"></div> <div id="related-diets-list-module" class="inline-accordion module"> <h2 class="accordion-header coloured">Special Diets</h2> <ul><li class=""><a href="/food/diets/egg_free"><span class="tag">Egg-free</span> recipes</a></li> <li class=""><a href="/food/diets/pregnancy_friendly"><span class="tag">Pregnancy-friendly</span> recipes</a></li> <li class="last-child"><a href="/food/diets/shellfish_free"><span class="tag">Shellfish-free</span> recipes</a></li> </ul></div> <div id="social-media-links" class="module coloured"> <h2 class="social-media-header coloured"> Follow us on </h2> <ul><li class="with-image"> <a href=""><img src=""><span>Facebook</span></a> </li> <li class="with-image"> <a href=""><img src=""><span>Twitter</span></a> </li> <li class="with-image"> <a href=""><img src=""><span>Pinterest</span></a> </li> </ul></div> </div> </div> <div id="column-2" class="column"> <div id="quick-recipe-finder" class="module coloured"> <h2>Quick recipe finder</h2> <div class="search-help"> <p>Type the ingredients you want to use, then click <strong class="search-text">Go</strong>. For better results you can use quotation marks around phrases (e.g. "chicken breast"). Alternatively you can search by chef, programme, cuisine, diet, or dish (e.g. Lasagne).</p> </div> <form method="get" action="/food/recipes/search"> <fieldset><label for="search-keywords" id="search-keywords-label">Type ingredients, chef or programme</label> <input type="text" id="search-keywords" name="keywords"><input type="image" id="search-submit" alt="Go" src=""><label for="search-quick-filter" id="search-quick-filter-label" class="filter-label"> <input type="checkbox" id="search-quick-filter" class="filter" name="quickAndEasy" value="true"> Quick &amp; Easy </label> <label for="search-vegetarian-filter" id="search-vegetarian-filter-label" class="filter-label"> <input type="checkbox" id="search-vegetarian-filter" class="filter" name="diets[]" value="vegetarian"> Vegetarian </label> </fieldset></form> <a id="advanced-search-link" href="/food/recipes#quick-recipe-finder">Advanced search options</a> </div> <div id="dish_up-promo" class="occasion-promo module"> <h2> <a href=""> Dish Up - Cook better, eat better <span></span> </a> </h2> </div> <div id="related-recipes-list-module" class="module grouped-resource-list-module"> <h2>Related recipes</h2> <h3 class="accordion-header initial">Recipes for beef curry</h3> <div class="accordion resource-list"> <ul class="resources"><li> <h4> <a href="/food/recipes/thairedpenangcurry_90828"> Beef panang curry </a> </h4> <h5>By <span class="chef-name">James Martin</span></h5> </li> <li> <h4> <a href="/food/recipes/beefshatkora_92084"> Beef shatkora </a> </h4> <h5>By <span class="chef-name">Rick Stein</span></h5> </li> <li class=" last-child"> <h4> <a href="/food/recipes/beef_jhal_faraizi_karhai_92693"> Beef jhal faraizi, karhai broccoli and sweet and sour squash </a> </h4> <h5>By <span class="chef-name">Madhur Jaffrey</span></h5> </li> </ul><p class="see-all">See more <a href="/food/beef_curry">beef curry recipes</a></p> </div> <h3 class="accordion-header">Recipes using steak</h3> <div class="accordion resource-list"> <ul class="resources"><li> <h4> <a href="/food/recipes/yorkshire_wagyu_fillet_50959"> Yorkshire fillet steak with fries and b&#233;arnaise sauce </a> </h4> <h5>By <span class="chef-name">James Martin</span></h5> </li> <li> <h4> <a href="/food/recipes/guinnessbeefandchest_93084"> Beef, stout and chestnut casserole with leek colcannon </a> </h4> <h5>By <span class="chef-name">The Hairy Bikers</span></h5> </li> <li class=" last-child"> <h4> <a href="/food/recipes/twice-cooked_braised_66810"> Twice-cooked braised horseradish rib-eye steaks with crispy onions </a> </h4> <h5>By <span class="chef-name">Brian Turner</span></h5> </li> </ul><p class="see-all">See more <a href="/food/steak">steak recipes</a></p> </div> <h3 class="accordion-header">Rick Stein recipes</h3> <div class="accordion resource-list"> <ul class="resources last-of-type"><li class="with-image"> <h4> <a href="/food/recipes/turkeysaladwithchine_92947"> <img src="" width="88" height="50" alt="Turkey salad with Chinese cabbage, beansprouts and Vietnamese mint"> Turkey salad with Chinese cabbage, beansprouts and Vietnamese mint </a> </h4> <h5>By <span class="chef-name">Rick Stein</span></h5> </li> <li class="with-image"> <h4> <a href="/food/recipes/lamb-stuffed_aubergines_99219"> <img src="" width="88" height="50" alt="Lamb-stuffed aubergines with Moorish spices and Manchego cheese"> Lamb-stuffed aubergines with Moorish spices and Manchego cheese </a> </h4> <h5>By <span class="chef-name">Rick Stein</span></h5> </li> <li class=" last-child"> <h4> <a href="/food/recipes/indonesianstirfriedr_92945"> Indonesian stir-fried rice (Nasi goreng) </a> </h4> <h5>By <span class="chef-name">Rick Stein</span></h5> </li> </ul><p class="see-all">See more <a href="/food/chefs/rick_stein">Rick Stein recipes</a></p> </div> </div> <div id="programmes-module" class="module coloured"> <h2>This recipe is from...</h2> <h3 id="promoed-programme" class="programme"> <a href="/food/programmes/b02znjhj"> <span class="mainTitle">Rick Stein's India</span> <span class="subTitle"><span class="head">Episode 1</span></span> <span class="masterbrand">bbc_two<span class="bbc_two"></span></span> <img src="" width="320" height="172" alt="Rick Stein's India"></a> </h3> <div class="more-recipes"> <h3>Recipes from this episode</h3> <ul><li> <a href="/food/recipes/coconut_prawn_curry_69561">Prawns with freshly grated coconut, green chillies and mustard seeds (Chingri daab)</a> </li> <li> <a href="/food/recipes/whole_eggs_in_coconut_23624">Whole eggs in coconut masala (egg molee)</a> </li> </ul></div> </div> </div> </div>&#13; British beef Raj curry 12 ingredients 25g/1oz butter Traceback (most recent call last): File "/repo/", line 148, in <module> scrape_dishes_az() File "/repo/", line 144, in scrape_dishes_az process_recipe_list(page, recipes) File "/repo/", line 33, in process_recipe_list scrape_recipe(recipe_url) File "/repo/", line 61, in scrape_recipe recipe_model["ingredients"].append(process_ingredient(ingredient)) File "/repo/", line 70, in process_ingredient print ingredient UnicodeEncodeError: 'ascii' codec can't encode character u'\xbd' in position 41: ordinal not in range(128)


Downloaded 1 time by MikeRalphson

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (4.98 MB) Use the API

rows 10 / 19033

900ml/1½ pint vinegar (cider or malt)
900g/2lb soft brown sugar
570ml/1 pint malt vinegar
450g/1lb soft brown sugar
300g/11oz sultanas
2kg/4lb 4oz ripe red tomatoes, cut into 6 or 8 pieces
500g/1lb 2oz green apples, peeled and chopped
400g/14oz shallots, peeled and roughly chopped
1 tbsp root ginger, finely chopped
1.5kg/3lb Bramley apples

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (4.98 MB) Use the API

rows 10 / 2342

url name ingredients
Apple and raisin chutney
[{'name': '1.8kg/4lb apples, peeled, cored and chopped'}, {'name': '4 medium onions, peeled and finely chopped'}, {'name': '2 cloves garlic, peeled and crushed'}, {'name': '1 lemon, juice only'}, {'name': '1 tbsp mustard seeds'}, {'name': u'900ml/1\xbd pint vinegar (cider or malt)'}, {'name': '450g/1lb raisins'}, {'name': '1 tbsp ground ginger'}, {'name': '2 tsp salt'}, {'name': '900g/2lb soft brown sugar'}]
Tomato and apple chutney
[{'name': '570ml/1 pint malt vinegar'}, {'name': '450g/1lb soft brown sugar'}, {'name': '300g/11oz sultanas'}, {'name': '2kg/4lb 4oz ripe red tomatoes, cut into 6 or 8 pieces'}, {'name': '500g/1lb 2oz green apples, peeled and chopped'}, {'name': '400g/14oz shallots, peeled and roughly chopped'}, {'name': '4 red chillies, chopped'}, {'name': '1 tbsp root ginger, finely chopped'}, {'name': 'sea salt and freshly ground black pepper'}]
Apple, date and ginger chutney
[{'name': '1.5kg/3lb Bramley apples'}, {'name': '2 garlic cloves, very finely sliced'}, {'name': '250ml/8fl oz cider vinegar '}, {'name': u'750g/1\xbdlb granulated sugar'}, {'name': '250g/9oz stoned dates, finely chopped'}, {'name': '100g/4oz sultanas'}, {'name': '50g/2oz fresh ginger, peeled and grated '}, {'name': u'\xbd tsp salt'}, {'name': u'\xbd tsp ground allspice '}, {'name': 'pinch of cayenne pepper'}]
Apple, pear and apricot chutney
[{'name': '1kg/2.2lb bramley apples, peeled, cored and diced'}, {'name': '1kg/2.2lb conference pears, peeled, cored and diced'}, {'name': '2 large onions, finely chopped '}, {'name': '2 cloves garlic, crushed'}, {'name': '2 limes, grated zest and juice'}, {'name': '1 tbsp mustard seeds'}, {'name': u'1 litre/1\xbe pint white wine vinegar'}, {'name': '225g/8oz each raisins and chopped dried apricots'}, {'name': '7.5cm/3in piece root ginger, peeled and grated'}, {'name': '2 tsp ground ginger'}, {'name': '1 tbsp sea salt'}, {'name': '1kg/2lb2oz dark muscovado sugar'}, {'name': u'Warm sterilised jam jars and jam pot covers - prepare jars by washing in hot soapy water and leaving to dry and warm in a cool oven - 130C/250F/Gas \xbd for 10-15 minutes.'}]
Chicken and ham pie
[{'name': '675g/1lb 7oz flour'}, {'name': 'Salt and ground white pepper'}, {'name': u'50ml/2\xbdfl oz full-fat milk'}, {'name': u'50ml/2\xbdfl oz warm water'}, {'name': '225g/8oz lard, chopped'}, {'name': '1 free-rage egg yolk, beaten'}, {'name': u'4 x 175g/6\xbcoz chicken breasts, diced'}, {'name': '450g/1lb pork sausage meat'}, {'name': '225g/8 oz pancetta, chopped'}, {'name': '1 tsp freshly grated nutmeg'}, {'name': 'Salt and ground white pepper'}, {'name': 'Pinch ground allspice'}, {'name': '1 tbsp chopped fresh rosemary'}, {'name': '1 tbsp Worcestershire sauce'}, {'name': 'Apple chutney, to serve'}]
Pork tenderloin with sage and celeriac dauphinoise
[{'name': '1 head celeriac (about 400g/14oz), peeled and thinly sliced'}, {'name': 'butter, for greasing'}, {'name': 'salt and freshly ground black pepper'}, {'name': '1 tbsp finely chopped sage'}, {'name': u'100g/3\xbdoz mature cheddar cheese, grated'}, {'name': '150ml/5fl oz double cream'}, {'name': '50ml/2fl oz full-fat milk'}, {'name': '2 garlic cloves, crushed'}, {'name': 'salt and freshly ground pepper'}, {'name': u'75g/2\xbdoz butter'}, {'name': '2 x 200g/7oz pork tenderloins'}, {'name': 'salt and freshly ground black pepper'}, {'name': 'fine beans '}, {'name': 'apple chutney'}]
Savoury apple crumble
[{'name': '6 assorted apples, use any of your favourites'}, {'name': '50g/2oz butter '}, {'name': '4 tbsp Madeira '}, {'name': '250g/6oz butter '}, {'name': '250g/6oz plain flour '}, {'name': '100g/4oz parmesan, grated'}, {'name': '100g/4oz breadcrumbs '}, {'name': '4 sprigs lemon thyme, picked'}]
Chunky apple crumble
[{'name': '4 large Bramley cooking apples (weighing about 900g/2lb)'}, {'name': '1 large orange, zest and juice only'}, {'name': '2 sprigs rosemary'}, {'name': '225g/8oz blackberries'}, {'name': 'splash of water'}, {'name': u'30g/1\xbd oz caster sugar'}, {'name': '55g/2oz ground almonds'}, {'name': '140g/5oz plain flour'}, {'name': '85g/3oz polenta (not quick-cook)'}, {'name': '140g/5oz butter, cold'}, {'name': '110g/4oz light muscovado sugar'}, {'name': 'splash of water'}, {'name': 'thick cream or custard'}]
Toffee apple crumble
[{'name': u'100ml/3\xbdfl oz water'}, {'name': '225g/8oz granulated sugar'}, {'name': '30ml/1fl oz golden syrup'}, {'name': '30g/1oz unsalted butter '}, {'name': '450g/1lb cooking apples, peeled, cored and sliced into wedges '}, {'name': '450g/1lb eating apples, peeled, cored and sliced into wedges '}, {'name': '150g/5oz plain flour'}, {'name': '150g/5oz unsalted butter '}, {'name': '150g/5oz demerara sugar'}, {'name': '6 free-range egg yolks'}, {'name': u'75g/2\xbdoz caster sugar'}, {'name': u'600ml/1 pint 1\xbdfl oz whole milk'}, {'name': '1 vanilla pod, seeds only'}]
Apple and thyme crumble with thyme custard
[{'name': '50g/2oz butter, plus extra for greasing'}, {'name': '1.5kg/3lb 4oz Bramley apples, peeled, cored and cut into chunks'}, {'name': '4 tbsp caster sugar'}, {'name': '6 sprigs fresh lemon thyme, leaves only'}, {'name': '150g/6oz butter'}, {'name': '300g/12oz plain flour'}, {'name': '150g/6oz caster sugar'}, {'name': '200ml/7fl oz milk'}, {'name': '200ml/7fl oz double cream'}, {'name': '4 sprigs fresh thyme, leaves only'}, {'name': '6 free-range egg yolks'}, {'name': '75g/3oz caster sugar'}]


Total run time: less than 10 seconds

Total cpu time used: less than 5 seconds

Total disk space used: 5.01 MB


  • Manually ran revision 7215cf7d and failed .
    2 records added, 2 records removed in the database
  • Forked from ScraperWiki

Scraper code


bbccoukfood /