From 303a43fc9ba816958f53d23c1073a93d997e9ea8 Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Fri, 5 May 2023 23:24:37 +0530 Subject: [PATCH] Update irish_independent.recipe removed duplicate feed and articles. --- recipes/irish_independent.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/irish_independent.recipe b/recipes/irish_independent.recipe index 105260fd02..902beff249 100644 --- a/recipes/irish_independent.recipe +++ b/recipes/irish_independent.recipe @@ -15,6 +15,7 @@ class IrishIndependent(BasicNewsRecipe): oldest_article = 2 max_articles_per_feed = 100 no_stylesheets = True + ignore_duplicate_articles = {'url'} keep_only_tags = [ dict(name='div', attrs={'class':lambda x: x and '_contentwrapper' in x}) @@ -26,7 +27,6 @@ class IrishIndependent(BasicNewsRecipe): feeds = [ ('Frontpage News', 'http://www.independent.ie/rss'), - ('News', 'http://www.independent.ie/rss'), ('World News', 'http://www.independent.ie/world-news/rss'), ('Opinion', 'http://www.independent.ie/opinion/rss'), ('Business', 'http://www.independent.ie/business/rss'),