Feeds fetcher remove comments

This commit is contained in:
Luciano Gervasoni
2025-04-09 17:02:49 +02:00
parent 9a8322e408
commit 842f3175df

View File

@@ -180,6 +180,9 @@ def find_feeds(url):
except Exception as e:
print(f"An error occurred: {e}")
# Remove comments feed
list_feeds = [f for f in list_feeds if "/comments" not in f]
# Remove duplicates
return list(set(list_feeds))