I'm trying to scrape a website in PHP using DOMDocument.
However the site I'm trying to scrape, when I view the source code, doesn't actually print text but rather has these (placeholders?) in double curly brackets.
<td>{{variable.code}}</td>
So when you view the website, that {{variable.code}} might be text saying ABC1234, but in the source of the page it comes back as the above.
I'm not sure what's going on, whether this is a PHP thing or a JavaScript thing. Googling about curly brackets didn't reduce my confusion too much. Either way, I'm looking for some advice as to how I can extract the correct values.