A google script to retrieve http response code and redirected URLs