@property
    def description(self):
        if "description" not in self.meta:
            description = self.meta.get(
                "description",
                self.content
            ).replace("\n", "")
            description = html_to_raw_text(description)
            if "<br" in description:
                description = description.split("<br")[0]
            elif "</p" in description:
                description = description.split("</p")[0]
            if len(description) > 150:
                description = description[:150]
            self.meta.description = description.strip()
        return self.meta.description
dataset/ETHPy150Open whtsky/Catsup/catsup/models.py/Post.description/original