def privacy_info_handle(info, anonymous, name=False):
    if anonymous:
        return 'A user' if name else ''
    return info
Override this method to implement a different offsite policy
dataset/ETHPy150Open CenterForOpenScience/osf.io/framework/auth/utils.py/privacy_info_handle--crossover with--dataset/ETHPy150Open scrapy/scrapy/scrapy/spidermiddlewares/offsite.py/OffsiteMiddleware.get_host_regex