If there's no search-nutritional-info element, don't try to parse calories and brand information.
This might be the case if the search results include user recipes.
To test, search for a string that would return one of your recipes on https://www.myfitnesspal.com/food/search
If there's no
search-nutritional-info
element, don't try to parse calories and brand information. This might be the case if the search results include user recipes. To test, search for a string that would return one of your recipes on https://www.myfitnesspal.com/food/searchFixes #135