def fix_movie_naming(title): return fix_inconsistent_naming( title, { "Back to the Future Part III": "Back to the Future 3", "Back to the Future Part II": "Back to the Future 2", 'Bill & Ted Face the Music': 'Bill Ted Face the Music', }, True)
def fix_tv_naming(title): """Fix TV show titles with inconsistent naming using dictionary, but do not sanitize them. :param str title: original title. :return: new title. :rtype: str """ return fix_inconsistent_naming(title, {"Superman & Lois": "Superman and Lois", }, True)
def fix_tv_naming(title): """Fix TV show titles with inconsistent naming using dictionary, but do not sanitize them. :param str title: original title. :return: new title. :rtype: str """ return fix_inconsistent_naming( title, { "Marvel's Daredevil": "Daredevil", "Marvel's Luke Cage": "Luke Cage", "Marvel's Iron Fist": "Iron Fist", "DC's Legends of Tomorrow": "Legends of Tomorrow" }, True)
def fix_tv_naming(title): """Fix TV show titles with inconsistent naming using dictionary, but do not sanitize them. :param str title: original title. :return: new title. :rtype: str """ return fix_inconsistent_naming( title, { "DC's Legends of Tomorrow": "Legends of Tomorrow", "Star Trek: The Next Generation": "Star Trek TNG", "Loki (aka. Marvel\'s Loki)": "Loki", "Marvel's": "", }, True)
def fix_tv_naming(title): """Fix TV show titles with inconsistent naming using dictionary, but do not sanitize them. :param str title: original title. :return: new title. :rtype: str """ return fix_inconsistent_naming(title, {"Marvel's WandaVision": "WandaVision", "Marvel's Daredevil": "Daredevil", "Marvel's Luke Cage": "Luke Cage", "Marvel's Iron Fist": "Iron Fist", "Marvel's Jessica Jones": "Jessica Jones", "DC's Legends of Tomorrow": "Legends of Tomorrow", "Star Trek: The Next Generation": "Star Trek TNG", }, True)
def fix_tv_naming(title): """Fix TV show titles with inconsistent naming using dictionary, but do not sanitize them. :param str title: original title. :return: new title. :rtype: str """ return fix_inconsistent_naming( title, { "Marvel's Daredevil": "Daredevil", "Marvel's Luke Cage": "Luke Cage", "Marvel's Iron Fist": "Iron Fist", "DC's Legends of Tomorrow": "Legends of Tomorrow", "Doctor Who (2005)": "Doctor Who", "Star Trek: Deep Space Nine": "Star Trek DS9", "Star Trek: The Next Generation": "Star Trek TNG", }, True)
def fix_movie_naming(title): return fix_inconsistent_naming( title, { "Back to the Future Part III": "Back to the Future 3", "Back to the Future Part II": "Back to the Future 2", }, True)
def fix_movie_naming(title): return fix_inconsistent_naming(title, { }, True)