ageitgey / node-unfluff

Automatically extract body content (and other cool stuff) from an html document
Apache License 2.0
2.15k stars 223 forks source link

Parse og:image:url meta property #81

Closed andrepcg closed 6 years ago

andrepcg commented 6 years ago

You can specify attributes for the og:image property and in some cases no image would be returned.

<meta property="og:image:url" content="http://...">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:type" content="image/jpeg">

@ageitgey Hope you can review this soon, really need the fix. Thank you!

ageitgey commented 6 years ago

Thanks!