xpath is a relative link:
div [@ class="thumb"] / a picturehref. The result is 19.jpg
how to get an absolute link, similar to http://www.example.com/19.jpg
is there any good way? thank you very much!
xpath is a relative link:
div [@ class="thumb"] / a picturehref. The result is 19.jpg
how to get an absolute link, similar to http://www.example.com/19.jpg
is there any good way? thank you very much!
there is no good way to take out the original value first, and then calculate the absolute URL based on the current URL. Specific algorithm can be Baidu: js relative to the URL to the absolute