T
T
TechNOIR2017-09-21 11:09:19
PHP
TechNOIR, 2017-09-21 11:09:19

Xpath. How to get links to both images?

Good afternoon.
There are 2 product images in the product card .
How can I get links to images of both product images using Xpath?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2017-09-21
@glebovgin

Good afternoon.
The donor site is pretty slow, periodically dying with a 502 error.
But I can offer this option:
And then you iterate the results and get them through getAttribute('href').
If you really want to use xpath, then you can do this:
Experiment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question