The only schema.orgNutritionInformation property that could match an empty string seems to be servingSize: https://www.schema.org/NutritionInformation - the others are generally of the form <quantity> <unit> (as with Mass and Energy).
...
The results (including any Python error messages) that you are seeing
Our nutrient extraction logic allows empty strings in returned nutrient values, and some tests have matching expectations.
...
Pre-filing checks
The URL of the recipe(s) that are not being scraped correctly
...
The results you expect to see We filter-out nutrients that have empty (none) values, and we may want to do something similar for other nutrient values too.
The only
schema.org
NutritionInformation
property that could match an empty string seems to beservingSize
: https://www.schema.org/NutritionInformation - the others are generally of the form<quantity> <unit>
(as withMass
andEnergy
)....
The results (including any Python error messages) that you are seeing
Our nutrient extraction logic allows empty strings in returned nutrient values, and some tests have matching expectations. ...