Fix logging of actions
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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"]}
|
||||
@@ -1 +1 @@
|
||||
{"readed": [42826625, 42826624, 41096633, 41096632, 40954210, 40954209]}
|
||||
{"readed": [42826625, 42826624, 41096633, 41096632, 40954210, 40954209, 42840294, 42840293]}
|
||||
Reference in New Issue
Block a user