recipe_extractor 1.0.0
recipe_extractor: ^1.0.0 copied to clipboard
Retrieve recipe name, ingredients and instructions from a recipe URL.
example/recipe_extractor_example.dart
import 'package:recipe_extractor/recipe_extractor.dart';
void main() async {
const String recipeUrl =
"https://www.marmiton.org/recettes/recette_cookies-maison_86989.aspx";
RecipeData recipeData = await extractRecipe(recipeUrl);
print(recipeData.name);
print(recipeData.ingredients);
print(recipeData.instructions);
}