in reply to How can I find where I've been redirected to, in my scrapper?

As you have found, the response object can report the final URL that was retrieved. If you actually need the redirect responses themselves, the previous and redirects methods on the final HTTP::Response object will give you the intermediate responses.

If you need to decide whether or not to follow the redirect, you can use the simple_request method instead of the request method on LWP::UserAgent.