def name(self, name): wrapped_name = wrap(text=convert_to_ascii(text=name), width=30) return "\n".join( [colored(value, attrs=["bold"]) for value in wrapped_name])
def cast(self, cast): return "\n".join([convert_to_ascii(text=actor) for actor in cast])
def synopsis(self, synopsis): return "\n".join( wrap(text=convert_to_ascii(text=clean_html(raw_html=synopsis)), width=50))
def title(self, title): wrapped_title = wrap(text=convert_to_ascii(text=title), width=50) return "\n".join([ colored(value, attrs=["bold", "underline"]) for value in wrapped_title ])
def actors(self, actors): return "\n".join([convert_to_ascii(text=actor) for actor in actors])