From 3c1b852e102aa97d8995c92a28f0b265a43947e2 Mon Sep 17 00:00:00 2001 From: Arjix <53124886+ArjixGamer@users.noreply.github.com> Date: Thu, 11 Mar 2021 11:18:05 +0200 Subject: [PATCH] added a poster image to the search results --- anime_downloader/sites/twistmoe.py | 1 + 1 file changed, 1 insertion(+) diff --git a/anime_downloader/sites/twistmoe.py b/anime_downloader/sites/twistmoe.py index 6e65ace..8e53205 100644 --- a/anime_downloader/sites/twistmoe.py +++ b/anime_downloader/sites/twistmoe.py @@ -55,6 +55,7 @@ class TwistMoe(Anime, sitename='twist.moe'): animes.append(SearchResult( title=anime['title'], url='https://twist.moe/a/' + anime['slug']['slug'] + '/', + poster=f"https://media.kitsu.io/anime/poster_images/{anime['hb_id']}/large.jpg" )) animes = [ani[0] for ani in process.extract(query, animes)] return animes