onetsp / RecipeParser

A PHP library for parsing structured recipe data from HTML files.
https://onetsp.com/
MIT License
93 stars 26 forks source link

CORE-2217: Microdata Schema fallback when missing itemprop #27

Closed discobeta closed 6 years ago

discobeta commented 6 years ago

Change Summary

We've added a fallback case when working with Microdata Schema formats to support a fallback case when failing to find the ingredients lines due to missing itemprop attribute on each ingredient line. We've added a case that would fallback to using class="ingredient" selectors.

Release Notes

There are no release notes.

Testing

We have to make sure that the mentioned URLs in this ticket are now scrape-able.