@@ -0,0 +1,879 @@
+import textwrap%0A%0Aimport html2text%0A%0Atext_maker = html2text.HTML2Text()%0Atext_maker.body_width = 0%0A%0A%0Adef html_to_md(string):%0A    string = string.replace('%3Cbr%3E', ' ')%0A    return text_maker.handle(string)%0A%0A%0Adef get_formatted_book_data(book_data):%0A    template = textwrap.dedent(%22%22%22%5C%0A        **Title:** %7B0%7D by %7B1%7D,%0A        **Rating:** %7B2%7D by %7B3%7D,%0A        **Description:** %7B4%7D,%0A        **Link**: %7B5%7D%0A%0A        Tip: %7B6%7D%22%22%22)%0A    title = book_data%5B'title'%5D%0A    authors = book_data%5B'authors'%5D%0A    average_rating = book_data%5B'average_rating'%5D%0A    ratings_count = book_data%5B'ratings_count'%5D%0A    description = html_to_md(book_data.get('description', ''))%0A    url = book_data%5B'url'%5D%0A%0A    tip = 'Use author name also for better search results'%0A    template = template.format(title, authors, average_rating, ratings_count,%0A                               description, url, tip)%0A    return template%0A

Add utils for html2md conversion