示例#1
0
    def find_content(self):
        content = Content.get_next()
        text = ''

        if content.text:
            text += f'"{content.text}"\n'

        text += f' - {content.creator_nickname} ({content.creator.name})\n'
        date = content.create_date.strftime("%B %d, %Y")
        text += f'  {date}'

        return content.upload.url