def fix_url_bars_instead_of_slashes(string):
    """A common error in urls is that all ``/`` have been changed for ``|``, we fix that in this function"""
    if string[:7] == 'http:||' or string[:8] == 'https:||':
        string = string.replace('|', '/')
    return string
