[twitter] skip unavailable tweets

This commit is contained in:
Mike Fährmann
2020-06-04 14:51:25 +02:00
parent 41d03160ff
commit 655c98cbef

View File

@@ -403,6 +403,10 @@ class TwitterAPI():
if entry["entryId"].startswith(entry_tweet):
tid = entry["content"]["item"]["content"]["tweet"]["id"]
if tid not in tweets:
self.extractor.log.debug(
"Skipping unavailable Tweet %s", tid)
continue
tweet = tweets[tid]
tweet["user"] = users[tweet["user_id_str"]]