Use uiexplorer and inspect on the first url. There in the attribute list you will able to find some attribute like rowNum or idx which gives the position of the item. Include that in the selector and remove the attribute which changes with the string which you are searching.