Avoid duplicate links

main
Bob Mottram 2024-06-05 22:00:49 +01:00
parent 9033869c69
commit 9df1f1a8c5
1 changed files with 2 additions and 0 deletions

View File

@ -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 = '<p>\n'
link_url = link_str