changed search query (did webpage change?) and added automatic detection of maximum page offset