fixed broken microdata blowing up ingredient lists

This commit is contained in:
vabene1111
2021-01-07 23:09:37 +01:00
parent 78fa5338d3
commit 4b719af4e1

View File

@ -71,6 +71,7 @@ def find_recipe_json(ld_json, url):
ingredients = []
for x in ld_json['recipeIngredient']:
if x.replace(' ','') != '':
try:
amount, unit, ingredient, note = parse_ingredient(x)
if ingredient: