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:

View File

@@ -1 +1 @@
{"syndication": ["https://bsky.app/profile/fundor333.bsky.social/post/3lgpspspw6525", "https://mastodon.social/@fundor333/113900165230585466"]}
{"syndication": ["https://bsky.app/profile/fundor333.bsky.social/post/3lgpspspw6525", "https://mastodon.social/@fundor333/113900165230585466", "https://news.ycombinator.com/item?id=42840293"]}

View File

@@ -1 +1 @@
{"readed": [42826625, 42826624, 41096633, 41096632, 40954210, 40954209]}
{"readed": [42826625, 42826624, 41096633, 41096632, 40954210, 40954209, 42840294, 42840293]}