A
A
Anatoly2015-08-01 19:24:40
Java
Anatoly, 2015-08-01 19:24:40

How to pull image link from style attribute using JSoup?

How to pull a link?

<span class="l-shop-item_img" style=" background-image:url(https://static-pss-ru.gcdn.co/shop/media/items/image.jpg)"></span>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Emin, 2015-08-01
@Anatol_s

doc.select("span").first().attr("style")
Docks here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question