def get_url(entry):
    """ Return URL from response if it was received otherwise requested URL. """
    try:
        return entry['response']['url']
    except KeyError:
        return entry['request']['url']
