Good day ) Asked this question, first commercial then with the idea of curiosity. Has long moved away from trying to program anything more than "script on the knee to send mails from the database for the crown".
In General, there is a problem. The site itself is a Bookmaker's office Marathon. To the front there is a live event. They are constantly updated odds.
In the developer tools shows that constantly with some sort of interval slutsa ajax requests (perhaps I am mistaken in determining the nature of the queries) to update these numbers in the window in real time.
Here in this context the question arose, in what side to dig and what tools to use to get the entire page every 1-2 minutes, but that all changed in real-time.
My thoughts are that using PHANTOMJS to parse the full page and issue on localhost, and to update the contents pages using the same ajax requests that go on the site.
If this is the right idea, tell me enough if I only one phantom and PHP to implement this task?
Can the phantom to see these requests and forward them to me in real time?
Will it be too much to protect it from parsing on the site where it all get?