def safe_characters(filename):
    """
    Converts special characters e.g. from YouTube Video titles to 'safe' filenames (initially Windows 10)
    """
    characters = {"|": "_", '"': "'", ":": " -", "@": "", "#": "", "?": ""}
    for old, new in characters.items():
        filename = filename.replace(old, new)
    return filename