og:title, og:description, og:image etc values ought to be used.
Current Behavior
These values are ignored because the generic extractors use extractFromMeta which ends up using selectors like meta[name="og:image"] but it really should be meta[property="og:image"].
Steps to Reproduce
Run MercuryParser.parse on a page that supplies og: tags and doesn't supply identical values via other means. Observe that the og: values are not present in the result.
Possible Solution
Either fix the extractFromMeta utility to special case og: tags or stop using it for these tags.
Expected Behavior
og:title
,og:description
,og:image
etc values ought to be used.Current Behavior
These values are ignored because the generic extractors use extractFromMeta which ends up using selectors like
meta[name="og:image"]
but it really should bemeta[property="og:image"]
.Steps to Reproduce
Run
MercuryParser.parse
on a page that suppliesog:
tags and doesn't supply identical values via other means. Observe that theog:
values are not present in the result.Possible Solution
Either fix the
extractFromMeta
utility to special caseog:
tags or stop using it for these tags.