Closed jonpincus closed 3 years ago
As a workaround I'm currently trying to movetoDescription($jsonld('description'))
after toDescription($ => $('meta[property="og:description"]').attr('content'))
... but I'm not sure whether this will break it on other sites!
I think it's strongly related to https://github.com/microlinkhq/metascraper/pull/340
I think it's strongly related to #340
Seems plausible to me!
Prerequisites
package.json
.Subject of the issue
metascraper-description is picking up a description of a context from an ld-json fragment, rather than the description or og:description
Steps to reproduce
Expected behaviour
Should print either the meta description content
Rusten Sheskey, the police officer who shot Jacob Blake in the back on Aug. 23, will not face any criminal charges, Wisconsin prosecutors said Tuesday.
or the meta og:description content
Even before announcing his findings, the Kenosha County district attorney pleaded for peace.
Actual behaviour
Actually prints
This is additional taxonomy that helps us with analytics
Which appears to come from this ld-json fragment