ssnepenthe / recipe-scraper

A library for scraping recipes from popular recipe sites.
GNU General Public License v2.0
47 stars 15 forks source link

Consider switching to protocol-indifferent schema.org selectors #16

Closed ssnepenthe closed 7 years ago

ssnepenthe commented 7 years ago

For microdata markup selectors...

I am seeing more and more sites using an itemtype of https://schema.org/Recipe.

I am not sure if it is technically valid - all examples given on schema.org use http. They do seem to have a valid cert, however.

Should be able to use one of:

Where the latter two are probably a bit more robust, but also potentially allow for some undesired itemtypes.