L
L
lolrofl012020-06-14 23:11:09
Parsing
lolrofl01, 2020-06-14 23:11:09

How to parse a site in js?

Good evening!
Tell me, how is a site parsed correctly, which has almost all the functions in js? That is, a news site, the news does not have separate urls. You need to click on the news, and js will work out the opening of the modal, then the necessary news will be loaded from the server by Ajax and inserted into this modal. But how to write a parser so that it can make this discovery of the news and receive the incoming data?

I read that phantom js can work with js, but I didn’t understand how to use it as a parser.

Maybe there is something easier?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2020-06-14
@lolrofl01

Selenium
Nightmare

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question