N
N
Nikolaymac2016-06-07 08:03:09
JavaScript
Nikolaymac, 2016-06-07 08:03:09

How to parse select which is filled via AJAX?

You need to create a database of motorcycles, there are sites where it already exists .. for example here http://auto.e1.ru/add/car/ or here
You . select and select all option from the second one.. what is the best way to do this ?
What to parse with? I learn php and Js every day, but I haven't done any parsing. Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2016-06-07
@Rou1997

Используйте "движок" браузера, например, Phantom.js (WebKit, усовершенствованный для парсинга), он выполняет JavaScript, а значит, и AJAX. Или с помощью Fiddler, Wireshark, средств разработчика в браузере и т.п. сниффера перехватите AJAX-запрос (HTTP-запрос) и "подделайте" обращение к серверу.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question