Retrieve recipe name, ingredients and instructions from a recipe URL.

Getting started

With dart :

dart pub get recipe_extractor

With Flutter :

flutter pub get recipe_extractor

Import package :

import package:recipe_extractor/recipe_extractor.dart

Usage

const String recipeUrl = "https://www.allrecipes.com/recipe/218792/ggs-chocolate-sheet-cake";

RecipeData recipeData = await extractRecipe(recipeUrl);

print(recipeData.name);
print(recipeData.ingredients);
print(recipeData.instructions);

Additional information

Supported recipe sites :

  • marmiton.org
  • allrecipes.com
  • swissmilk.ch
  • bbcgoodfood.com
  • simplyrecipes.com

More coming soon...

Libraries

recipe_extractor
Support for doing something awesome.