Good afternoon, there is a website: https://ru.4game.com/lineage2classic/play/ratings/ The site has "Search" highlighted in red, you can use the search to get the data, highlighted in green. Question: How to substitute the search phrase for search and parse the received data (Server, Clan, Level. Name, In game, Class, Experience) in php and write to array? Rummaged, rummaged but still did not understand how the search is conducted as a result, nothing happened to match ((Help.
- oneRead about cURL and, for example, simplehtmldom - tutankhamun
- Yes, I can parse, I do not know how to first send the data in the form image.prntscr.com/image/afa4608334864d7d8dd603736e89ddf4.png the form is empty only their data-reactid class = ". 3" should be sent to Ajax, but nowhere can I find a handler where to send - Valery
- Using the developer tools in the browser (F12 - Network tab, Select XHR (this is AJAX)), see where the request is sent when you perform a manual search. Send data directly to the target script. - VenZell
- If the developer’s tools do not help, you can emulate the user's behavior in the browser using PhantomJS and parse it. - VenZell
- Thank you, VenZel - Valery
|