From 9df1f1a8c59bb7928efa93dd45ff8d33c58ba4a8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 5 Jun 2024 22:00:49 +0100 Subject: [PATCH] Avoid duplicate links --- webapp_podcast.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp_podcast.py b/webapp_podcast.py index 73622831a..a22f2c1fd 100644 --- a/webapp_podcast.py +++ b/webapp_podcast.py @@ -477,6 +477,8 @@ def html_podcast_episode(translate: {}, link_str = remove_html(link_str) if not resembles_url(link_str): continue + if link_str in podcast_str: + continue if not links_text: links_text = '

\n' link_url = link_str