scottmac / opengraph

Helper class for accessing the OpenGraph Protocol
463 stars 151 forks source link

Doesn't work with nytimes.com (and other sites) #29

Open booruguru opened 9 years ago

booruguru commented 9 years ago

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.

vwasteels commented 7 years ago

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.

AramZS commented 6 years ago

@vwasteels That is a separate issue for sure. And a deep dive into headless browsing.

andreas83 commented 4 years ago

its 2020 and getting data via a headless browser is not a big deal.. http://jonnnnyw.github.io/php-phantomjs/4.0/