update retrieve function to not parse redirected pages that end up on different domain