This is a really weird situation that I can't explain.
I use simple HTML DOM
and am trying to get the full code of this page:
http://ronilocks.com/
The thing is, I'm getting only part of what's actually on the page.
For instance: look at the page source code and see all the script tags that are in the plugins
folder. There are quite a few.
When I check the same with the string I get back from simple HTML DOM
none of them are there. Only wp-rocket
.
(I used a clean file_get_html()
and a file_get_contents()
too and got the same result)
Any thoughts? Thanks!
Edit: Is it possible that wp-rocket
(installed on the page being scrapped) knows that the page is being scrapped and shows something different?