From f72105927851a4f9656e2c1ceaca4afaabaf7f78 Mon Sep 17 00:00:00 2001 From: Schimon Jehudah Date: Sat, 13 Jan 2024 17:27:18 +0000 Subject: [PATCH] Remove magnet link check --- slixfeed/task.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/slixfeed/task.py b/slixfeed/task.py index cab015e..385cfe7 100644 --- a/slixfeed/task.py +++ b/slixfeed/task.py @@ -245,11 +245,7 @@ async def send_update(self, jid, num=None): await mark_as_read(db_file, ix) # Find media - if url.startswith("magnet:"): - media = action.get_magnet(url) - elif enclosure.startswith("magnet:"): - media = action.get_magnet(enclosure) - elif enclosure: + if enclosure: media = enclosure else: media = await action.extract_image_from_html(url)