K
K
khodos_dmitry2018-06-22 14:44:24
Parsing
khodos_dmitry, 2018-06-22 14:44:24

Why is selenium+phantomjs better for parsing than curl+phpquery?

They say that this is a new step in the development of the grabber. For now, curl + phpquery is enough for me.
What is better in selenium+phantomjs bundle? What simplifications, new opportunities does it provide?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Ukolov, 2018-06-22
@alexey-m-ukolov

The ability to work with pages whose content is generated using javascript.

E
Evgen, 2018-06-23
@Verz1Lka

In general, phantomjs seems to be bent, especially considering that there is chrome headless.
But yes, you can use it to parse pages after rendering JS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question