opengraph
opengraph copied to clipboard
Doesn't work with nytimes.com (and other sites)
I am unable to retrieve og:image from some web sites, most notably nytimes.com...even though they clearly have the value defined in their HTML head.
this script will not work with single page applications, since the content will be loaded with javascript and the initial content is a basic html page that include all needed scripts.
@vwasteels That is a separate issue for sure. And a deep dive into headless browsing.
its 2020 and getting data via a headless browser is not a big deal.. http://jonnnnyw.github.io/php-phantomjs/4.0/