unable to url from this string using xpath?
I want to get the url of the Downlo开发者_如何学Cad hyper link from this link: http://mp3skull.com/mp3/aadat.html This is the string that I have written: //div[1]/[text() = 'Download'] (and this is only for the first object you ll see what I mean). What am I doing wrong here? If possible could you give me the correct string?
thanks, TC
the following xpath retrieve the first download link:
/html/body/div/div[2]/div/div/div[2]/div[3]/div/div[2]/a
Not very smart, I would try to get all download links with something like:
//div/div[2]/a
精彩评论