def __init__(self, content, snippet_fileds=('d', 'p', 'u', 't', 's', 'm'), exclude_market_yandex=True, exclude_realty_yandex=True): self.content = to_unicode(content) self.snippet_fileds = snippet_fileds self.exclude_market_yandex = exclude_market_yandex self.exclude_realty_yandex = exclude_realty_yandex
def __init__(self, content): self.content = to_unicode(content)
def __init__(self, content, snippet_fileds=("d", "p", "u", "t", "s", "m")): self.content = to_unicode(content) self.snippet_fileds = snippet_fileds
def __init__(self, content, snippet_fileds=('d', 'p', 'u', 't', 's', 'm'), exclude_market_yandex=True): self.content = to_unicode(content) self.snippet_fileds = snippet_fileds self.exclude_market_yandex = exclude_market_yandex