Extracting google url

Claudiu

Regular Member
Joined
Feb 28, 2009
Messages
374
Reaction score
129
Hi,

I've been away from IM in the past years and now i'm trying to make my way back in and it seems like i need some help in doing so.

I'm trying to extract the url from 1st position in g search to see the competition for it.
I'm using imacros with xpath, but it seems this combo doesn't work any longer as xpath is changing between searches; it's not the same xpath on every search that i make; it's not constant.

Example: for the 3 searches i make i get 3 different xpath on the same 1st url

id('rso')/div[1]/div[2]/div/h3/a
id('rso')/div/div/div[1]/div/h3/a
id('rso')/div[1]/div/h3/a

If you know a solution to that i's appreciate some input
Thank you
 
Back
Top