Fix logging of actions

This commit is contained in:
Fundor333
2025-01-27 13:17:57 +01:00
parent 087dbfd629
commit 90aa9f14ba
3 changed files with 3 additions and 4 deletions

View File

@@ -85,14 +85,13 @@ class FeedFinder:
for e in self.find_urls(self.get_label(feed.version, entry)):
if domain in e:
print(f"{link} - {e}")
e = clean_slug(e)
if output.get(e, False):
output[e].append(link.strip())
else:
output[e] = [link.strip()]
else:
print("Failed to get RSS feed. Status code:", feed.status)
logging.error("Failed to get RSS feed. Status code:", feed.status)
class WriterSyndication: