The idea was to have less metadata clutter for most Tweets were
'author' and 'user' are the same (non-retweets), and only provide
a 'user' field.
The original Tweet author could be gotten with
{author[…]|user[…]}, but basically no one knows about that.
This commit is contained in:
@@ -154,6 +154,8 @@ class TwitterExtractor(Extractor):
|
||||
|
||||
if "author" in tweet:
|
||||
tdata["author"] = self._transform_user(tweet["author"])
|
||||
else:
|
||||
tdata["author"] = tdata["user"]
|
||||
|
||||
return tdata
|
||||
|
||||
|
||||
Reference in New Issue
Block a user