üzenetek

hozzászólások


vampire17
(addikt)
Blog

A hiba fixalva :)

A legujabb nightly-ban mar jol mukodik. Ugy tunik az volt a gond, hogy a feliratok.hu-n az a neve a sorozatnak, hogy Marvel's WandaVision. Ez miatt fol kellett vennie spec. esetnek. (nem o az egyetlen amugy, ahogy a forraskodban latom...)

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_movie_naming(title):
return fix_inconsistent_naming(title, {
}, True)

[ Szerkesztve ]

üzenetek