There is a parser on CURL but it only works with static pages.
We need a parser that would work with the dynamics (that is, tightened dynamically generated content). Site for example .
What tools are now used for this?
At least you need an engine that handles Javascript. In the simplest solution, they take a browser and work with it through Selenium or through an API.
Although there are solutions working through the console, for example PhantomJs, and the corresponding libraries for working with it through PHP
PhantomJS is something like a browser (based on webkit), only with console control, support for CSS, DOM, and of course JavaScript.
Source: https://ru.stackoverflow.com/questions/579406/
All Articles