[bluesky] handle exception for posts without 'record' (#7499)

This commit is contained in:
Mike Fährmann
2025-05-10 20:24:25 +02:00
parent 2755425ddd
commit 1da44d8fe6

View File

@@ -49,7 +49,11 @@ class BlueskyExtractor(Extractor):
self.log.debug("Skipping %s (repost)", self._pid(post))
continue
embed = post.get("embed")
post.update(post.pop("record"))
try:
post.update(post.pop("record"))
except Exception:
self.log.debug("Skipping %s (no 'record')", self._pid(post))
continue
while True:
self._prepare(post)